Class ParameterValue

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParameterValue
    extends java.lang.Object
    implements java.io.Serializable
    This is the config value for a Parameter. It has a datatype, and can be either an normal value, or can be bound. If bound, the value will be a BoundValue object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ParameterValue

        public ParameterValue()
      • ParameterValue

        public ParameterValue​(DataTypeClass dataType,
                              java.lang.Object value)
    • Method Detail

      • setDatatype

        public void setDatatype​(DataTypeClass datatype)
      • setValue

        public void setValue​(java.lang.Object value)
      • getValue

        public java.lang.Object getValue()
        Returns the coerced value of the parameter if not bound, the BoundValue otherwise.
      • isBound

        public boolean isBound()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object