Class AbstractTypedValueMapper<T extends TypedValue>
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<T>
-
- All Implemented Interfaces:
ValueMapper<T>
- Direct Known Subclasses:
FileValueMapper
,NullValueMapper
,ObjectValueMapper
,PrimitiveValueMapper
public abstract class AbstractTypedValueMapper<T extends TypedValue> extends java.lang.Object implements ValueMapper<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractTypedValueMapper(ValueType type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
canHandleTypedValue(TypedValue typedValue)
boolean
canHandleTypedValueField(TypedValueField typedValueField)
protected abstract boolean
canReadValue(TypedValueField typedValueField)
protected abstract boolean
canWriteValue(TypedValue typedValue)
java.lang.String
getSerializationDataformat()
ValueType
getType()
-
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, readValue, writeValue
-
-
-
-
Field Detail
-
valueType
protected ValueType valueType
-
-
Constructor Detail
-
AbstractTypedValueMapper
public AbstractTypedValueMapper(ValueType type)
-
-
Method Detail
-
getType
public ValueType getType()
- Specified by:
getType
in interfaceValueMapper<T extends TypedValue>
-
getSerializationDataformat
public java.lang.String getSerializationDataformat()
- Specified by:
getSerializationDataformat
in interfaceValueMapper<T extends TypedValue>
-
canHandleTypedValue
public boolean canHandleTypedValue(TypedValue typedValue)
- Specified by:
canHandleTypedValue
in interfaceValueMapper<T extends TypedValue>
-
canHandleTypedValueField
public boolean canHandleTypedValueField(TypedValueField typedValueField)
- Specified by:
canHandleTypedValueField
in interfaceValueMapper<T extends TypedValue>
-
canWriteValue
protected abstract boolean canWriteValue(TypedValue typedValue)
-
canReadValue
protected abstract boolean canReadValue(TypedValueField typedValueField)
-
-