Class PropositionParameter
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.proposition.PropositionParameter
- All Implemented Interfaces:
Serializable,Identifiable,Versioned,ModelObjectBasic,ModelObjectComplete,PropositionParameterContract
public final class PropositionParameter
extends AbstractDataTransferObject
implements PropositionParameterContract
Concrete model object implementation of KRMS Proposition Parameter
immutable.
Instances of PropositionParameter can be (un)marshalled to and from XML.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis builder is used to construct instances of PropositionParameter.static classA private class which exposes constants which define the XML element names to use when this object is marshalled to XML. -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the type of the parameter.Returns the Id for the parent proposition.Returns the sequence number of the proposition parameter.Returns the term value of the proposition parameter if the proposition parameter is a term.getValue()Returns the value of the proposition parameterMethods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
getPropId
Description copied from interface:PropositionParameterContractReturns the Id for the parent proposition.It is the Id of the parent proposition.
- Specified by:
getPropIdin interfacePropositionParameterContract- Returns:
- Id for parent parameter.
-
getValue
Description copied from interface:PropositionParameterContractReturns the value of the proposition parameterIt is the value of the parameter
- Specified by:
getValuein interfacePropositionParameterContract- Returns:
- value of the parameter
-
getParameterType
Description copied from interface:PropositionParameterContractReturns the type of the parameter. Proposition parameters are one of the following types: Constant Values: numbers, strings, dates, etc. Terms: data available in the execution environment or provided by a term resolver Functions: custom functions that resolve to a value, or standard operators (equals, greater than, less than, ...)It identified the type of the parameter.
- Specified by:
getParameterTypein interfacePropositionParameterContract- Returns:
- the parameter type code. Valid values are C, T, and F.
-
getSequenceNumber
Description copied from interface:PropositionParameterContractReturns the sequence number of the proposition parameter. Proposition parameters are listed in Reverse Polish Notation. The sequence number (starting with 1) identifies the position of the parameter in the list.- Specified by:
getSequenceNumberin interfacePropositionParameterContract- Returns:
- the sequence number of the proposition parameter
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
getTermValue
Description copied from interface:PropositionParameterContractReturns the term value of the proposition parameter if the proposition parameter is a term.It is the term value of the parameter
- Specified by:
getTermValuein interfacePropositionParameterContract- Returns:
- value of the term parameter
-