public interface ModelContext
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String getServerName()
java.lang.String getModelName()
boolean isModelStateObject(java.lang.String name)
name
- the name of the objectjava.lang.Object getModelStateObject(java.lang.String name)
name
- the name of the objectvoid setModelStateObject(java.lang.String name, java.lang.Object object)
name
- the name to which to bind the objectobject
- the object to bind