Class PropositionParameter

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.krms.api.repository.proposition.PropositionParameter
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.core.api.mo.ModelObjectComplete, PropositionParameterContract

public final class PropositionParameter extends org.kuali.rice.core.api.mo.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 Classes
    Modifier and Type
    Class
    Description
    static class 
    This builder is used to construct instances of PropositionParameter.
    static class 
    A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    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.
    Returns the value of the proposition parameter
     

    Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject

    afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • getPropId

      public String getPropId()
      Description copied from interface: PropositionParameterContract
      Returns the Id for the parent proposition.

      It is the Id of the parent proposition.

      Specified by:
      getPropId in interface PropositionParameterContract
      Returns:
      Id for parent parameter.
    • getValue

      public String getValue()
      Description copied from interface: PropositionParameterContract
      Returns the value of the proposition parameter

      It is the value of the parameter

      Specified by:
      getValue in interface PropositionParameterContract
      Returns:
      value of the parameter
    • getParameterType

      public String getParameterType()
      Description copied from interface: PropositionParameterContract
      Returns 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:
      getParameterType in interface PropositionParameterContract
      Returns:
      the parameter type code. Valid values are C, T, and F.
    • getSequenceNumber

      public Integer getSequenceNumber()
      Description copied from interface: PropositionParameterContract
      Returns 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:
      getSequenceNumber in interface PropositionParameterContract
      Returns:
      the sequence number of the proposition parameter
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • getTermValue

      public TermDefinition getTermValue()
      Description copied from interface: PropositionParameterContract
      Returns the term value of the proposition parameter if the proposition parameter is a term.

      It is the term value of the parameter

      Specified by:
      getTermValue in interface PropositionParameterContract
      Returns:
      value of the term parameter