Class PrimitiveValueTypeImpl
- java.lang.Object
-
- org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
-
- org.camunda.bpm.engine.variable.impl.type.PrimitiveValueTypeImpl
-
- All Implemented Interfaces:
java.io.Serializable
,PrimitiveValueType
,ValueType
- Direct Known Subclasses:
JsonTypeImpl
,PrimitiveValueTypeImpl.BooleanTypeImpl
,PrimitiveValueTypeImpl.BytesTypeImpl
,PrimitiveValueTypeImpl.DateTypeImpl
,PrimitiveValueTypeImpl.DoubleTypeImpl
,PrimitiveValueTypeImpl.IntegerTypeImpl
,PrimitiveValueTypeImpl.LongTypeImpl
,PrimitiveValueTypeImpl.NullTypeImpl
,PrimitiveValueTypeImpl.NumberTypeImpl
,PrimitiveValueTypeImpl.ShortTypeImpl
,PrimitiveValueTypeImpl.StringTypeImpl
,XmlTypeImpl
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
Nested Classes Modifier and Type Class Description 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
Fields Modifier and Type Field Description protected java.lang.Class<?>
javaType
-
Fields inherited from class org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
name
-
-
Constructor Summary
Constructors Constructor Description PrimitiveValueTypeImpl(java.lang.Class<?> javaType)
PrimitiveValueTypeImpl(java.lang.String name, java.lang.Class<?> javaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getJavaType()
java.util.Map<java.lang.String,java.lang.Object>
getValueInfo(TypedValue typedValue)
Get the value info (meta data) for aTypedValue
.boolean
isPrimitiveValueType()
Indicates whether this type is primitive valued.java.lang.String
toString()
-
Methods inherited from class org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
canConvertFromTypedValue, convertFromTypedValue, equals, getName, getParent, hashCode, isAbstract, isTransient, unsupportedConversion
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.variable.type.ValueType
canConvertFromTypedValue, convertFromTypedValue, createValue, getName, getParent, isAbstract
-
-
-
-
Method Detail
-
getJavaType
public java.lang.Class<?> getJavaType()
- Specified by:
getJavaType
in interfacePrimitiveValueType
-
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 interfaceValueType
- Returns:
- true if this is a primitive valued type. False otherwise
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractValueTypeImpl
-
getValueInfo
public java.util.Map<java.lang.String,java.lang.Object> getValueInfo(TypedValue typedValue)
Description copied from interface:ValueType
Get the value info (meta data) for aTypedValue
. The keys of the returned map for aTypedValue
are available as constants in the value'sValueType
interface.- Specified by:
getValueInfo
in interfaceValueType
- Returns:
-
-