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 booleancanReadValue(TypedValueField typedValueField)protected booleancanWriteValue(TypedValue typedValue)PrimitiveValueTypegetType()protected booleanisAssignable(java.lang.Object value)abstract TreadValue(TypedValueField typedValueField)TreadValue(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:
getTypein interfaceValueMapper<T extends PrimitiveValue<?>>- Overrides:
getTypein classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
isAssignable
protected boolean isAssignable(java.lang.Object value)
-
canWriteValue
protected boolean canWriteValue(TypedValue typedValue)
- Specified by:
canWriteValuein classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Specified by:
canReadValuein classAbstractTypedValueMapper<T extends PrimitiveValue<?>>
-
-