|
||||||||||
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.rule.RuleDefinition
public final class RuleDefinition
Concrete model object implementation of KRMS Repository Rule immutable. Instances of Rule can be (un)marshalled to and from XML.
RuleDefinitionContract
,
Rule
,
Serialized FormNested Class Summary | |
---|---|
static class |
RuleDefinition.Builder
This builder is used to construct instances of KRMS Repository Rule. |
static class |
RuleDefinition.Constants
Defines some internal constants used on this class. |
static class |
RuleDefinition.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<ActionDefinition> |
getActions()
This method returns a list of Actions associated with the Rule. |
Map<String,String> |
getAttributes()
Returns the internal representation of the set of attributes associated with the Action. |
String |
getDescription()
This is the description of the Rule |
String |
getId()
The unique identifier for an object. |
String |
getName()
This is the name of the Rule |
String |
getNamespace()
This is the namespace of the Rule |
String |
getPropId()
This method returns the ID of the Proposition associated with the rule. |
PropositionDefinition |
getProposition()
This method returns the Proposition associated with the rule. |
String |
getTypeId()
This is the KrmsType of the Rule |
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, hashCode, 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 getName()
RuleDefinitionContract
name - the name of the Rule
getName
in interface RuleDefinitionContract
public String getDescription()
RuleDefinitionContract
description - the description of the Rule
getDescription
in interface RuleDefinitionContract
public String getNamespace()
RuleDefinitionContract
The namespace of the Rule
getNamespace
in interface RuleDefinitionContract
public String getTypeId()
RuleDefinitionContract
getTypeId
in interface RuleDefinitionContract
public String getPropId()
RuleDefinitionContract
Each Rule has exactly one Proposition associated with it.
getPropId
in interface RuleDefinitionContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public PropositionDefinition getProposition()
RuleDefinitionContract
Each Rule has exactly one Proposition associated with it.
getProposition
in interface RuleDefinitionContract
public List<ActionDefinition> getActions()
RuleDefinitionContract
A Rule may have zero or more Actions associated with it.
getActions
in interface RuleDefinitionContract
public Map<String,String> getAttributes()
getAttributes
in interface RuleDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |