Package org.kuali.rice.kew.api.rule
Class Rule
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.rule.Rule
- All Implemented Interfaces:
Serializable,Identifiable,ModelObjectBasic,ModelObjectComplete,RuleContract
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder which can be used to constructRuleinstances.static class -
Method Summary
Modifier and TypeMethodDescriptionThe description of the rule.The documentTypeName of the rule.org.joda.time.DateTimeThe ending date of the rule.getId()getName()Unique Name for the Rule.Unique id for the previous version of this Rule.Expression for rule to evaluate.List of rule extensions associated with the RuleList of rule responsibilities associated with the RuleUnique Id for Template of Rule.Template Name of the Rule.org.joda.time.DateTimeThe ending date of the rule.booleanisActive()The active indicator for the rule.booleanShows if rule will force its action.Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
getName
Description copied from interface:RuleContractUnique Name for the Rule.This is the unique name of the Rule
- Specified by:
getNamein interfaceRuleContract- Returns:
- name
-
getRuleTemplate
Description copied from interface:RuleContractUnique Id for Template of Rule.This is the unique Id of the rule template of the rule
- Specified by:
getRuleTemplatein interfaceRuleContract- Returns:
- ruleTemplateId
-
isActive
public boolean isActive()Description copied from interface:RuleContractThe active indicator for the rule.- Specified by:
isActivein interfaceRuleContract- Returns:
- true if active false if not.
-
getDescription
Description copied from interface:RuleContractThe description of the rule.- Specified by:
getDescriptionin interfaceRuleContract- Returns:
- description
-
getPreviousRuleId
Description copied from interface:RuleContractUnique id for the previous version of this Rule.This is the unique id value of the previous version of this Rule.
- Specified by:
getPreviousRuleIdin interfaceRuleContract- Returns:
- previousVersionId
-
getDocTypeName
Description copied from interface:RuleContractThe documentTypeName of the rule.- Specified by:
getDocTypeNamein interfaceRuleContract- Returns:
- documentTypeName
-
getFromDate
public org.joda.time.DateTime getFromDate()Description copied from interface:RuleContractThe ending date of the rule.This is the date from which the rule stops being be used
- Specified by:
getFromDatein interfaceRuleContract- Returns:
- fromDate
-
getToDate
public org.joda.time.DateTime getToDate()Description copied from interface:RuleContractThe ending date of the rule.This is the date from which the rule starts to be used
- Specified by:
getToDatein interfaceRuleContract- Returns:
- toDate
-
isForceAction
public boolean isForceAction()Description copied from interface:RuleContractShows if rule will force its action.- Specified by:
isForceActionin interfaceRuleContract- Returns:
- boolean value representing if action is forced
-
getRuleResponsibilities
Description copied from interface:RuleContractList of rule responsibilities associated with the Rule- Specified by:
getRuleResponsibilitiesin interfaceRuleContract- Returns:
- ruleResponsibilities
-
getRuleExtensions
Description copied from interface:RuleContractList of rule extensions associated with the Rule- Specified by:
getRuleExtensionsin interfaceRuleContract- Returns:
- ruleExtensions
-
getRuleExtensionMap
-
getRuleTemplateName
Description copied from interface:RuleContractTemplate Name of the Rule.This is the name of the rule template for the rule
- Specified by:
getRuleTemplateNamein interfaceRuleContract- Returns:
- ruleTemplateName
-
getRuleExpressionDef
Description copied from interface:RuleContractExpression for rule to evaluate.This is expression definition of the rule
- Specified by:
getRuleExpressionDefin interfaceRuleContract- Returns:
- ruleExpressionDef
-