|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Form| Nested 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 Identifiablepublic String getNamespace()
ContextDefinitionContract
getNamespace in interface ContextDefinitionContractpublic String getName()
ContextDefinitionContract
getName in interface ContextDefinitionContractpublic String getTypeId()
ContextDefinitionContract
getTypeId in interface ContextDefinitionContractpublic String getDescription()
ContextDefinitionContract
getDescription in interface ContextDefinitionContractpublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic List<AgendaDefinition> getAgendas()
ContextDefinitionContractAgendaDefinitionContract 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 ContextDefinitionContractpublic Map<String,String> getAttributes()
ContextDefinitionContractThis method should never return null. An empty map is returned if no attributes are associated with the context.
getAttributes in interface ContextDefinitionContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versioned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||