Class ParameterValue
- java.lang.Object
-
- com.inductiveautomation.ignition.common.tags.config.properties.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 Summary
Constructors Constructor Description ParameterValue()
ParameterValue(DataTypeClass dataType, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
DataTypeClass
getDatatype()
java.lang.Object
getValue()
Returns the coerced value of the parameter if not bound, the BoundValue otherwise.int
hashCode()
boolean
isBound()
void
setDatatype(DataTypeClass datatype)
void
setValue(java.lang.Object value)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ParameterValue
public ParameterValue()
-
ParameterValue
public ParameterValue(DataTypeClass dataType, java.lang.Object value)
-
-
Method Detail
-
setDatatype
public void setDatatype(DataTypeClass datatype)
-
getDatatype
public DataTypeClass getDatatype()
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-