public final class PropositionDefinition extends AbstractDataTransferObject implements PropositionDefinitionContract
PropositonContract,
PropositionParameterContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
PropositionDefinition.Builder
This builder is used to construct instances of KRMS Proposition.
|
static class |
PropositionDefinition.Cache |
static class |
PropositionDefinition.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<PropositionDefinition> |
getCompoundComponents()
Returns the propositions which are contained in a
compound proposition.
|
String |
getCompoundOpCode()
Returns the op code to be used when evaluating compound
propositions.
|
Integer |
getCompoundSequenceNumber()
Returns the sequence number used to order the
compound propositions
Note: this value is set by the service
|
String |
getDescription()
Returns the description text for the KRMS proposition
|
String |
getId()
The unique identifier for an object.
|
List<PropositionParameter> |
getParameters()
Returns the parameter list of the proposition.
|
String |
getPropositionTypeCode()
There are three main types of Propositions:
Compound Propositions - a proposition consisting of other propositions
and a boolean algebra operator (AND, OR) defining how to evaluate
those propositions.
|
String |
getRuleId()
TReturns the ID of the rule this proposition belongs to.
|
String |
getTypeId()
Returns the id of Proposition KrmsType of the proposition.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic String getId()
IdentifiablegetId in interface Identifiablepublic String getDescription()
PropositionDefinitionContractgetDescription in interface PropositionDefinitionContractpublic String getRuleId()
PropositionDefinitionContractgetRuleId in interface PropositionDefinitionContractpublic String getTypeId()
PropositionDefinitionContractgetTypeId in interface PropositionDefinitionContractpublic String getPropositionTypeCode()
PropositionDefinitionContractThere are three main types of Propositions: Compound Propositions - a proposition consisting of other propositions and a boolean algebra operator (AND, OR) defining how to evaluate those propositions. Parameterized Propositions - a proposition which is parameterized by some set of values, evaluation logic is implemented by hand and returns true or false Simple Propositions - a proposition of the form lhs op rhs where lhs=left-hand side, rhs=right-hand side, and op=operator
getPropositionTypeCode in interface PropositionDefinitionContractValid values are C = compound, P = parameterized, S = simple
public List<PropositionParameter> getParameters()
PropositionDefinitionContractCompound Propositions will have an empty parameter list.
getParameters in interface PropositionDefinitionContractPropositionParameterpublic String getCompoundOpCode()
PropositionDefinitionContractgetCompoundOpCode in interface PropositionDefinitionContractpublic List<PropositionDefinition> getCompoundComponents()
PropositionDefinitionContractgetCompoundComponents in interface PropositionDefinitionContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic Integer getCompoundSequenceNumber()
PropositionDefinitionContractgetCompoundSequenceNumber in interface PropositionDefinitionContractCopyright © 2005–2016 The Kuali Foundation. All rights reserved.