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 classPrimitiveValueTypeImpl.BooleanTypeImplstatic classPrimitiveValueTypeImpl.BytesTypeImplstatic classPrimitiveValueTypeImpl.DateTypeImplstatic classPrimitiveValueTypeImpl.DoubleTypeImplstatic classPrimitiveValueTypeImpl.IntegerTypeImplstatic classPrimitiveValueTypeImpl.LongTypeImplstatic classPrimitiveValueTypeImpl.NullTypeImplstatic classPrimitiveValueTypeImpl.NumberTypeImplstatic classPrimitiveValueTypeImpl.ShortTypeImplstatic classPrimitiveValueTypeImpl.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.booleanisPrimitiveValueType()Indicates whether this type is primitive valued.java.lang.StringtoString()-
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:
getJavaTypein interfacePrimitiveValueType
-
isPrimitiveValueType
public boolean isPrimitiveValueType()
Description copied from interface:ValueTypeIndicates whether this type is primitive valued. Primitive valued types can be handled natively by the process engine.- Specified by:
isPrimitiveValueTypein interfaceValueType- Returns:
- true if this is a primitive valued type. False otherwise
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractValueTypeImpl
-
getValueInfo
public java.util.Map<java.lang.String,java.lang.Object> getValueInfo(TypedValue typedValue)
Description copied from interface:ValueTypeGet the value info (meta data) for aTypedValue. The keys of the returned map for aTypedValueare available as constants in the value'sValueTypeinterface.- Specified by:
getValueInfoin interfaceValueType- Returns:
-
-