Class UntypedValueImpl
- java.lang.Object
-
- org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl
-
- All Implemented Interfaces:
java.io.Serializable,TypedValue
public class UntypedValueImpl extends java.lang.Object implements TypedValue
Used when the type of an object has not been specified by the user and needs to be autodetected.- Author:
- Daniel Meyer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanisTransientprotected java.lang.Objectvalue
-
Constructor Summary
Constructors Constructor Description UntypedValueImpl(java.lang.Object object)UntypedValueImpl(java.lang.Object object, boolean isTransient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ValueTypegetType()The type of the value.java.lang.ObjectgetValue()The actual value.inthashCode()booleanisTransient()Indicator for transience of the valuevoidsetTransient(boolean isTransient)java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Description copied from interface:TypedValueThe actual value. May be null in case the value is null.- Specified by:
getValuein interfaceTypedValue- Returns:
- the value
-
getType
public ValueType getType()
Description copied from interface:TypedValueThe type of the value. See ValueType for a list of built-in ValueTypes.- Specified by:
getTypein interfaceTypedValue- Returns:
- the type of the value.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isTransient
public boolean isTransient()
Description copied from interface:TypedValueIndicator for transience of the value- Specified by:
isTransientin interfaceTypedValue- Returns:
- isTransient
-
setTransient
public void setTransient(boolean isTransient)
-
-