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, toString
public String getId()
Identifiable
getId
in interface Identifiable
public String getName()
RuleContract
This is the unique name of the Rule
getName
in interface RuleContract
public RuleTemplate getRuleTemplate()
RuleContract
This is the unique Id of the rule template of the rule
getRuleTemplate
in interface RuleContract
public boolean isActive()
RuleContract
isActive
in interface RuleContract
public String getDescription()
RuleContract
getDescription
in interface RuleContract
public String getPreviousRuleId()
RuleContract
This is the unique id value of the previous version of this Rule.
getPreviousRuleId
in interface RuleContract
public String getDocTypeName()
RuleContract
getDocTypeName
in interface RuleContract
public org.joda.time.DateTime getFromDate()
RuleContract
This is the date from which the rule stops being be used
getFromDate
in interface RuleContract
public org.joda.time.DateTime getToDate()
RuleContract
This is the date from which the rule starts to be used
getToDate
in interface RuleContract
public boolean isForceAction()
RuleContract
isForceAction
in interface RuleContract
public List<RuleResponsibility> getRuleResponsibilities()
RuleContract
getRuleResponsibilities
in interface RuleContract
public List<RuleExtension> getRuleExtensions()
RuleContract
getRuleExtensions
in interface RuleContract
public Map<String,String> getRuleExtensionMap()
public String getRuleTemplateName()
RuleContract
This is the name of the rule template for the rule
getRuleTemplateName
in interface RuleContract
public RuleExpression getRuleExpressionDef()
RuleContract
This is expression definition of the rule
getRuleExpressionDef
in interface RuleContract
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.