org.camunda.bpm.engine.impl.core.variable.value
Class PrimitiveTypeValueImpl<T>

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.value.AbstractTypedValue<T>
      extended by org.camunda.bpm.engine.impl.core.variable.value.PrimitiveTypeValueImpl<T>
All Implemented Interfaces:
Serializable, PrimitiveValue<T>, TypedValue
Direct Known Subclasses:
PrimitiveTypeValueImpl.BooleanValueImpl, PrimitiveTypeValueImpl.BytesValueImpl, PrimitiveTypeValueImpl.DateValueImpl, PrimitiveTypeValueImpl.DoubleValueImpl, PrimitiveTypeValueImpl.IntegerValueImpl, PrimitiveTypeValueImpl.LongValueImpl, PrimitiveTypeValueImpl.NumberValueImpl, PrimitiveTypeValueImpl.ShortValueImpl, PrimitiveTypeValueImpl.StringValueImpl

public class PrimitiveTypeValueImpl<T>
extends AbstractTypedValue<T>
implements PrimitiveValue<T>

Author:
Daniel Meyer
See Also:
Serialized Form

Nested Class Summary
static class PrimitiveTypeValueImpl.BooleanValueImpl
           
static class PrimitiveTypeValueImpl.BytesValueImpl
           
static class PrimitiveTypeValueImpl.DateValueImpl
           
static class PrimitiveTypeValueImpl.DoubleValueImpl
           
static class PrimitiveTypeValueImpl.IntegerValueImpl
           
static class PrimitiveTypeValueImpl.LongValueImpl
           
static class PrimitiveTypeValueImpl.NumberValueImpl
           
static class PrimitiveTypeValueImpl.ShortValueImpl
           
static class PrimitiveTypeValueImpl.StringValueImpl
           
 
Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.value.AbstractTypedValue
type, value
 
Constructor Summary
PrimitiveTypeValueImpl(T value, PrimitiveValueType type)
           
 
Method Summary
 boolean equals(Object obj)
           
 PrimitiveValueType getType()
          The type of the value.
 int hashCode()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.value.AbstractTypedValue
getValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.variable.value.PrimitiveValue
getValue
 

Constructor Detail

PrimitiveTypeValueImpl

public PrimitiveTypeValueImpl(T value,
                              PrimitiveValueType type)
Method Detail

getType

public PrimitiveValueType 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 PrimitiveValue<T>
Specified by:
getType in interface TypedValue
Overrides:
getType in class AbstractTypedValue<T>
Returns:
the type of the value.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2015 camunda services GmbH. All rights reserved.