org.camunda.bpm.engine.impl.core.variable.type
Class PrimitiveValueTypeImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
      extended by org.camunda.bpm.engine.impl.core.variable.type.PrimitiveValueTypeImpl
All Implemented Interfaces:
Serializable, PrimitiveValueType, ValueType
Direct Known Subclasses:
PrimitiveValueTypeImpl.BooleanTypeImpl, PrimitiveValueTypeImpl.BytesTypeImpl, PrimitiveValueTypeImpl.DateTypeImpl, PrimitiveValueTypeImpl.DoubleTypeImpl, PrimitiveValueTypeImpl.IntegerTypeImpl, PrimitiveValueTypeImpl.LongTypeImpl, PrimitiveValueTypeImpl.NullTypeImpl, PrimitiveValueTypeImpl.NumberTypeImpl, PrimitiveValueTypeImpl.ShortTypeImpl, PrimitiveValueTypeImpl.StringTypeImpl

public abstract class PrimitiveValueTypeImpl
extends AbstractValueTypeImpl
implements PrimitiveValueType

Implementation of the primitive variable value types

Author:
Daniel Meyer
See Also:
Serialized Form

Nested Class Summary
static class PrimitiveValueTypeImpl.BooleanTypeImpl
           
static class PrimitiveValueTypeImpl.BytesTypeImpl
           
static class PrimitiveValueTypeImpl.DateTypeImpl
           
static class PrimitiveValueTypeImpl.DoubleTypeImpl
           
static class PrimitiveValueTypeImpl.IntegerTypeImpl
           
static class PrimitiveValueTypeImpl.LongTypeImpl
           
static class PrimitiveValueTypeImpl.NullTypeImpl
           
static class PrimitiveValueTypeImpl.NumberTypeImpl
           
static class PrimitiveValueTypeImpl.ShortTypeImpl
           
static class PrimitiveValueTypeImpl.StringTypeImpl
           
 
Field Summary
protected  Class<?> javaType
           
 
Fields inherited from class org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
name
 
Fields inherited from interface org.camunda.bpm.engine.variable.type.ValueType
BOOLEAN, BYTES, DATE, DOUBLE, INTEGER, LONG, NULL, NUMBER, OBJECT, SHORT, STRING
 
Constructor Summary
PrimitiveValueTypeImpl(Class<?> javaType)
           
PrimitiveValueTypeImpl(String name, Class<?> javaType)
           
 
Method Summary
 Class<?> getJavaType()
           
 Map<String,Object> getValueInfo(TypedValue typedValue)
          Get the value info for a TypedValue.
 boolean isPrimitiveValueType()
          Indicates whether this type is primitive valued.
 String toString()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
canConvertFromTypedValue, convertFromTypedValue, getName, getParent, isAbstract, unsupportedConversion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.variable.type.ValueType
canConvertFromTypedValue, convertFromTypedValue, createValue, getName, getParent, isAbstract
 

Field Detail

javaType

protected Class<?> javaType
Constructor Detail

PrimitiveValueTypeImpl

public PrimitiveValueTypeImpl(Class<?> javaType)

PrimitiveValueTypeImpl

public PrimitiveValueTypeImpl(String name,
                              Class<?> javaType)
Method Detail

getJavaType

public Class<?> getJavaType()
Specified by:
getJavaType in interface PrimitiveValueType

isPrimitiveValueType

public boolean isPrimitiveValueType()
Description copied from interface: ValueType
Indicates whether this type is primitive valued. Primitive valued types can be handled natively by the process engine.

Specified by:
isPrimitiveValueType in interface ValueType
Returns:
true if this is a primitive valued type. False otherwise

toString

public String toString()
Overrides:
toString in class AbstractValueTypeImpl

getValueInfo

public Map<String,Object> getValueInfo(TypedValue typedValue)
Description copied from interface: ValueType
Get the value info for a TypedValue.

Specified by:
getValueInfo in interface ValueType
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.