|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelContext
Provides information about the model and a model scoped shared storage.
Method Summary | |
---|---|
java.lang.String |
getModelName()
Gets the name of the model which is used for this host session. |
java.lang.Object |
getModelStateObject(java.lang.String name)
Gets the object bound to the specified name in this model context, or null if no object is bound to the name. |
java.lang.String |
getServerName()
Gets the name of the server, as defined to AADS, which is executing this model. |
boolean |
isModelStateObject(java.lang.String name)
Tests for the presence of a model context object bound to the specified name. |
void |
setModelStateObject(java.lang.String name,
java.lang.Object object)
Binds an object to this model context, using the name specified. |
Method Detail |
---|
java.lang.String getServerName()
java.lang.String getModelName()
boolean isModelStateObject(java.lang.String name)
name
- the name of the object
java.lang.Object getModelStateObject(java.lang.String name)
name
- the name of the object
void setModelStateObject(java.lang.String name, java.lang.Object object)
name
- the name to which to bind the objectobject
- the object to bind
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |