public final class Rule extends AbstractDataTransferObject implements RuleContract
| Modifier and Type | Class and Description |
|---|---|
static class |
Rule.Builder
A builder which can be used to construct
Rule instances. |
static class |
Rule.Cache |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
The description of the rule.
|
String |
getDocTypeName()
The documentTypeName of the rule.
|
org.joda.time.DateTime |
getFromDate()
The ending date of the rule.
|
String |
getId()
The unique identifier for an object.
|
String |
getName()
Unique Name for the Rule.
|
String |
getPreviousRuleId()
Unique id for the previous version of this Rule.
|
RuleExpression |
getRuleExpressionDef()
Expression for rule to evaluate.
|
Map<String,String> |
getRuleExtensionMap() |
List<RuleExtension> |
getRuleExtensions()
List of rule extensions associated with the Rule
|
List<RuleResponsibility> |
getRuleResponsibilities()
List of rule responsibilities associated with the Rule
|
RuleTemplate |
getRuleTemplate()
Unique Id for Template of Rule.
|
String |
getRuleTemplateName()
Template Name of the Rule.
|
org.joda.time.DateTime |
getToDate()
The ending date of the rule.
|
boolean |
isActive()
The active indicator for the rule.
|
boolean |
isForceAction()
Shows if rule will force its action.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getName()
RuleContractThis is the unique name of the Rule
getName in interface RuleContractpublic RuleTemplate getRuleTemplate()
RuleContractThis is the unique Id of the rule template of the rule
getRuleTemplate in interface RuleContractpublic boolean isActive()
RuleContractisActive in interface RuleContractpublic String getDescription()
RuleContractgetDescription in interface RuleContractpublic String getPreviousRuleId()
RuleContractThis is the unique id value of the previous version of this Rule.
getPreviousRuleId in interface RuleContractpublic String getDocTypeName()
RuleContractgetDocTypeName in interface RuleContractpublic org.joda.time.DateTime getFromDate()
RuleContractThis is the date from which the rule stops being be used
getFromDate in interface RuleContractpublic org.joda.time.DateTime getToDate()
RuleContractThis is the date from which the rule starts to be used
getToDate in interface RuleContractpublic boolean isForceAction()
RuleContractisForceAction in interface RuleContractpublic List<RuleResponsibility> getRuleResponsibilities()
RuleContractgetRuleResponsibilities in interface RuleContractpublic List<RuleExtension> getRuleExtensions()
RuleContractgetRuleExtensions in interface RuleContractpublic Map<String,String> getRuleExtensionMap()
public String getRuleTemplateName()
RuleContractThis is the name of the rule template for the rule
getRuleTemplateName in interface RuleContractpublic RuleExpression getRuleExpressionDef()
RuleContractThis is expression definition of the rule
getRuleExpressionDef in interface RuleContractCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.