public final class PropositionDefinition extends AbstractDataTransferObject implements PropositionDefinitionContract
PropositonContract
,
PropositionParameterContract
,
Serialized FormModifier 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.
|
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, toString
public String getId()
Identifiable
getId
in interface Identifiable
public String getDescription()
PropositionDefinitionContract
getDescription
in interface PropositionDefinitionContract
public String getRuleId()
PropositionDefinitionContract
getRuleId
in interface PropositionDefinitionContract
public String getTypeId()
PropositionDefinitionContract
getTypeId
in interface PropositionDefinitionContract
public String getPropositionTypeCode()
PropositionDefinitionContract
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. 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 PropositionDefinitionContract
Valid values are C = compound, P = parameterized, S = simple
public List<PropositionParameter> getParameters()
PropositionDefinitionContract
Compound Propositions will have an empty parameter list.
getParameters
in interface PropositionDefinitionContract
PropositionParameter
public String getCompoundOpCode()
PropositionDefinitionContract
getCompoundOpCode
in interface PropositionDefinitionContract
public List<PropositionDefinition> getCompoundComponents()
PropositionDefinitionContract
getCompoundComponents
in interface PropositionDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.