|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.isam.exehda.services.ContextManager.Context
Represents a context element.
Constructor Summary | |
(package private) |
ContextManager.Context(java.lang.String name,
ApplicationId scope,
java.lang.String def,
java.lang.String[] states)
Creates a new Context instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns whether this object and the given object describe the same context element. |
java.lang.String |
getDefinition()
Returns a String containing the XML definition used to create
this context. |
java.lang.String |
getName()
Returns the name of this context element. |
ApplicationId |
getScope()
Returns the scope (application) where this context element was defined. |
ContextManager.ContextState |
getStateInstance(java.lang.String state)
Returns a ContextState object that described the given
abstract state of this context element. |
int |
hashCode()
Computes a hash code for this context object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
ContextManager.Context(java.lang.String name, ApplicationId scope, java.lang.String def, java.lang.String[] states)
Context
instance.
name
- the context element's namescope
- the application where is being defineddef
- the raw XML definitionstates
- the allowed stated for this elementMethod Detail |
public java.lang.String getName()
String
valuepublic ApplicationId getScope()
ApplicationId
valuepublic java.lang.String getDefinition()
String
containing the XML definition used to create
this context.
String
valuepublic ContextManager.ContextState getStateInstance(java.lang.String state)
ContextState
object that described the given
abstract state of this context element.
state
- a String
value
ContextState
valuepublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- an Object
value
boolean
valuepublic int hashCode()
hashCode
in class java.lang.Object
int
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |