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 StringdateFormatprotected static ExternalTaskClientLoggerLOG-
Fields inherited from class org.camunda.bpm.client.variable.impl.AbstractTypedValueMapper
valueType
-
-
Constructor Summary
Constructors Constructor Description DateValueMapper(String dateFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanReadValue(TypedValueField typedValueField)DateValueconvertToTypedValue(UntypedValueImpl untypedValue)DateValuereadValue(TypedValueField typedValueField)voidwriteValue(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 String dateFormat
-
-
Constructor Detail
-
DateValueMapper
public DateValueMapper(String dateFormat)
-
-
Method Detail
-
convertToTypedValue
public DateValue convertToTypedValue(UntypedValueImpl untypedValue)
-
readValue
public DateValue readValue(TypedValueField typedValueField)
- Specified by:
readValuein classPrimitiveValueMapper<DateValue>
-
writeValue
public void writeValue(DateValue dateValue, TypedValueField typedValueField)
-
canReadValue
protected boolean canReadValue(TypedValueField typedValueField)
- Overrides:
canReadValuein classPrimitiveValueMapper<DateValue>
-
-