Interface RuleDefinitionContract
- All Superinterfaces:
Identifiable,Inactivatable,Versioned
- All Known Implementing Classes:
RuleDefinition,RuleDefinition.Builder
Defines the contract for a
RuleDefinition- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
RuleDefinitionorg.kuali.rice.krms.framework.engine.Rule
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends ActionDefinitionContract>This method returns a list of Actions associated with the Rule.This method returns a Map of attributes associated with the Rule.This is the description of the RulegetName()This is the name of the RuleThis is the namespace of the RuleThis method returns the ID of the Proposition associated with the rule.This method returns the Proposition associated with the rule.This is the KrmsType of the RuleMethods inherited from interface org.kuali.rice.core.api.mo.common.Identifiable
getIdMethods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActiveMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Method Details
-
getName
String getName()This is the name of the Rulename - the name of the Rule
- Returns:
- the name of the Rule
-
getDescription
String getDescription()This is the description of the Ruledescription - the description of the Rule
- Returns:
- the description of the Rule
-
getNamespace
String getNamespace()This is the namespace of the RuleThe namespace of the Rule
- Returns:
- the namespace of the Rule
-
getTypeId
String getTypeId()This is the KrmsType of the Rule- Returns:
- id for KRMS type related of the Rule
-
getPropId
String getPropId()This method returns the ID of the Proposition associated with the rule.Each Rule has exactly one Proposition associated with it.
- Returns:
- the id of the Proposition associated with the Rule
-
getProposition
PropositionDefinitionContract getProposition()This method returns the Proposition associated with the rule.Each Rule has exactly one Proposition associated with it.
- Returns:
- an immutable representation of the Proposition associated with the Rule
-
getActions
List<? extends ActionDefinitionContract> getActions()This method returns a list of Actions associated with the Rule.A Rule may have zero or more Actions associated with it.
- Returns:
- An ordered list of Actions associated with a Rule.
-
getAttributes
This method returns a Map of attributes associated with the Rule. The attributes are represented as name/value pairs.- Returns:
- a Map<String,String> of RuleAttribute objects.
-