org.camunda.bpm.engine.variable.value
Interface TypedValue

All Superinterfaces:
Serializable
All Known Subinterfaces:
BooleanValue, BytesValue, DateValue, DoubleValue, IntegerValue, LongValue, NumberValue, ObjectValue, PrimitiveValue<T>, SerializableValue, ShortValue, StringValue
All Known Implementing Classes:
AbstractTypedValue, NullValueImpl, ObjectValueImpl, PrimitiveTypeValueImpl, PrimitiveTypeValueImpl.BooleanValueImpl, PrimitiveTypeValueImpl.BytesValueImpl, PrimitiveTypeValueImpl.DateValueImpl, PrimitiveTypeValueImpl.DoubleValueImpl, PrimitiveTypeValueImpl.IntegerValueImpl, PrimitiveTypeValueImpl.LongValueImpl, PrimitiveTypeValueImpl.NumberValueImpl, PrimitiveTypeValueImpl.ShortValueImpl, PrimitiveTypeValueImpl.StringValueImpl, UntypedValueImpl

public interface TypedValue
extends Serializable

A TypedValue is a value with additional type information (the ValueType). TypedValues are used for representing variable values.

Since:
7.2
Author:
Daniel Meyer

Method Summary
 ValueType getType()
          The type of the value.
 Object getValue()
          The actual value.
 

Method Detail

getValue

Object getValue()
The actual value. May be null in case the value is null.

Returns:
the value

getType

ValueType getType()
The type of the value. See ValueType for a list of built-in ValueTypes.

Returns:
the type of the value.


Copyright © 2015 camunda services GmbH. All rights reserved.