|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelRuntime
ModelRuntime is the interface for a runtime model
Method Summary | |
---|---|
ModelCore |
getCore()
Returns the persistable core of the model runtime. |
java.lang.String |
getModelName()
Returns the name of the model (definition). |
ModelStatus |
getStatus()
Returns the current runtime status. |
void |
inform(Event event)
Informs the model of a possibly relevant event. |
void |
init(Model model,
java.util.Map props,
RuntimeContext context)
Initializes runtime with model declaration. |
Method Detail |
---|
void init(Model model, java.util.Map props, RuntimeContext context)
model
- the model definitionprops
- additional runtime propertiescontext
- the runtime contextjava.lang.String getModelName()
ModelStatus getStatus()
ModelCore getCore()
null
if the runtime lacks any
persistable part.void inform(Event event)
event
- the event. A model may ignore any event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |