|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.mo.AbstractDataTransferObject org.kuali.rice.krms.api.repository.context.ContextDefinition
public final class ContextDefinition
An immutable representation of a context definition. A context definition defines information about a context which can be loaded into the rules engine for evaluation. A context definition includes a list of agendas which are valid within the context. Typically, during rule engine execution, one or more of these agendas is selected for execution based on a given set of selection criteria.
ContextDefinitionContract
,
Serialized FormNested Class Summary | |
---|---|
static class |
ContextDefinition.Builder
A builder which can be used to construct ContextDefinition instances. |
static class |
ContextDefinition.Cache
|
static class |
ContextDefinition.Constants
Defines some internal constants used on this class. |
static class |
ContextDefinition.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
Method Summary | |
---|---|
List<AgendaDefinition> |
getAgendas()
Returns the list of agendas AgendaDefinitionContract contained in the context definition. |
Map<String,String> |
getAttributes()
Returns a map of name/value pairs representing the attributes associated with this context. |
String |
getDescription()
Returns the description of the context definition. |
String |
getId()
The unique identifier for an object. |
String |
getName()
Returns the name of the context definition. |
String |
getNamespace()
Returns the namespace of the context definition. |
String |
getTypeId()
Returns the type id for the context definition. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject |
---|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getId()
Identifiable
getId
in interface Identifiable
public String getNamespace()
ContextDefinitionContract
getNamespace
in interface ContextDefinitionContract
public String getName()
ContextDefinitionContract
getName
in interface ContextDefinitionContract
public String getTypeId()
ContextDefinitionContract
getTypeId
in interface ContextDefinitionContract
public String getDescription()
ContextDefinitionContract
getDescription
in interface ContextDefinitionContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public List<AgendaDefinition> getAgendas()
ContextDefinitionContract
AgendaDefinitionContract
contained in the context definition.
This method should never return null. An empty list is returned
if no agendas are associated with this context.
getAgendas
in interface ContextDefinitionContract
public Map<String,String> getAttributes()
ContextDefinitionContract
This method should never return null. An empty map is returned if no attributes are associated with the context.
getAttributes
in interface ContextDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |