Class PrimitiveValueMapper<T extends PrimitiveValue<?>>
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<T>
-
- org.camunda.bpm.client.variable.impl.mapper.PrimitiveValueMapper<T>
-
- All Implemented Interfaces:
ValueMapper<T>
- Direct Known Subclasses:
BooleanValueMapper
,ByteArrayValueMapper
,DateValueMapper
,JsonValueMapper
,NumberValueMapper
,StringValueMapper
,XmlValueMapper
public abstract class PrimitiveValueMapper<T extends PrimitiveValue<?>> extends AbstractTypedValueMapper<T>
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
valueType
-
-
Constructor Summary
Constructors Constructor Description PrimitiveValueMapper(PrimitiveValueType variableType)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
canReadValue(TypedValueField typedValueField)
protected boolean
canWriteValue(TypedValue typedValue)
PrimitiveValueType
getType()
protected boolean
isAssignable(Object value)
abstract T
readValue(TypedValueField typedValueField)
T
readValue(TypedValueField typedValueField, boolean deserializeObjectValue)
-
Methods inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
canHandleTypedValue, canHandleTypedValueField, getSerializationDataformat
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.client.variable.impl.ValueMapper
convertToTypedValue, writeValue
-
-
-
-
Constructor Detail
-
PrimitiveValueMapper
public PrimitiveValueMapper(PrimitiveValueType variableType)
-
-
Method Detail
-
readValue
public T readValue(TypedValueField typedValueField, boolean deserializeObjectValue)
-
readValue
public abstract T readValue(TypedValueField typedValueField)
-
getType
public PrimitiveValueType getType()
- Specified by:
getType
in interfaceValueMapper<T extends PrimitiveValue<?>>
- Overrides:
getType
in classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
isAssignable
protected boolean isAssignable(Object value)
-
canWriteValue
protected boolean canWriteValue(TypedValue typedValue)
- Specified by:
canWriteValue
in classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Specified by:
canReadValue
in classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
-