public final class RuleDefinition extends AbstractDataTransferObject implements RuleDefinitionContract
RuleDefinitionContract
,
Rule
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
RuleDefinition.Builder
This builder is used to construct instances of KRMS Repository Rule.
|
static class |
RuleDefinition.Cache |
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
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
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.