Class LongDataTypeTransformer
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.type.LongDataTypeTransformer
-
- All Implemented Interfaces:
DmnDataTypeTransformer
public class LongDataTypeTransformer extends java.lang.Object implements DmnDataTypeTransformer
- Author:
- Philipp Ossler
-
-
Constructor Summary
Constructors Constructor Description LongDataTypeTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isLong(java.lang.Number value)
TypedValue
transform(java.lang.Object value)
Transform the given value.protected long
transformNumber(java.lang.Number value)
protected long
transformString(java.lang.String value)
-
-
-
Method Detail
-
transform
public TypedValue transform(java.lang.Object value) throws java.lang.IllegalArgumentException
Description copied from interface:DmnDataTypeTransformer
Transform the given value.- Specified by:
transform
in interfaceDmnDataTypeTransformer
- Parameters:
value
- of any type- Returns:
- value of the specific type
- Throws:
java.lang.IllegalArgumentException
- if the value can not be transformed
-
transformNumber
protected long transformNumber(java.lang.Number value)
-
isLong
protected boolean isLong(java.lang.Number value)
-
transformString
protected long transformString(java.lang.String value)
-
-