Class DateValueMapper
- java.lang.Object
-
- org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper<T>
-
- org.camunda.bpm.client.variable.impl.mapper.PrimitiveValueMapper<DateValue>
-
- org.camunda.bpm.client.variable.impl.mapper.DateValueMapper
-
- All Implemented Interfaces:
ValueMapper<DateValue>
public class DateValueMapper extends PrimitiveValueMapper<DateValue>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
dateFormat
protected static ExternalTaskClientLogger
LOG
-
Fields inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
valueType
-
-
Constructor Summary
Constructors Constructor Description DateValueMapper(java.lang.String dateFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canReadValue(TypedValueField typedValueField)
DateValue
convertToTypedValue(UntypedValueImpl untypedValue)
DateValue
readValue(TypedValueField typedValueField)
void
writeValue(DateValue dateValue, TypedValueField typedValueField)
-
Methods inherited from class org.camunda.bpm.client.variable.impl.mapper.PrimitiveValueMapper
canWriteValue, getType, isAssignable, readValue
-
Methods inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
canHandleTypedValue, canHandleTypedValueField, getSerializationDataformat
-
-
-
-
Field Detail
-
LOG
protected static final ExternalTaskClientLogger LOG
-
dateFormat
protected java.lang.String dateFormat
-
-
Method Detail
-
convertToTypedValue
public DateValue convertToTypedValue(UntypedValueImpl untypedValue)
-
readValue
public DateValue readValue(TypedValueField typedValueField)
- Specified by:
readValue
in classPrimitiveValueMapper<DateValue>
-
writeValue
public void writeValue(DateValue dateValue, TypedValueField typedValueField)
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Overrides:
canReadValue
in classPrimitiveValueMapper<DateValue>
-
-