org.camunda.bpm.engine.impl.core.variable.value
Class UntypedValueImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.value.UntypedValueImpl
All Implemented Interfaces:
Serializable, TypedValue

public class UntypedValueImpl
extends 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
protected  Object value
           
 
Constructor Summary
UntypedValueImpl(Object object)
           
 
Method Summary
 ValueType getType()
          The type of the value.
 Object getValue()
          The actual value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected Object value
Constructor Detail

UntypedValueImpl

public UntypedValueImpl(Object object)
Method Detail

getValue

public Object getValue()
Description copied from interface: TypedValue
The actual value. May be null in case the value is null.

Specified by:
getValue in interface TypedValue
Returns:
the value

getType

public ValueType getType()
Description copied from interface: TypedValue
The type of the value. See ValueType for a list of built-in ValueTypes.

Specified by:
getType in interface TypedValue
Returns:
the type of the value.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 camunda services GmbH. All rights reserved.