|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A model whose data and/or operations can be sectioned into multiple contexts. The standard model operations are assumed to operate within a context such that the same operation in a different context has a different effect or result.
| Method Summary | |
java.lang.String[] |
getContextNames()
Returns the available data context names. |
java.lang.String |
getCurrentContextName()
Return the current data context name |
boolean |
isDefaultContext()
Checks if the current context is the default context |
void |
selectContext(java.lang.String name)
Change the current context to the named context |
void |
selectDefaultContext()
Change the current context to the default context. |
| Methods inherited from interface com.iplanet.jato.model.Model |
getName, getValue, getValues, setName, setValue, setValues |
| Method Detail |
public java.lang.String getCurrentContextName()
public java.lang.String[] getContextNames()
public void selectContext(java.lang.String name)
throws InvalidContextException
InvalidContextException - Thrown if the provided context name does not represent
an available context
public void selectDefaultContext()
throws InvalidContextException
InvalidContextException - Thrown if the provided context name does not represent
an available contextpublic boolean isDefaultContext()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||