Class DefaultTypeDefinition
- java.lang.Object
-
- org.camunda.bpm.dmn.engine.impl.type.DefaultTypeDefinition
-
- All Implemented Interfaces:
DmnTypeDefinition
public class DefaultTypeDefinition extends Object implements DmnTypeDefinition
- Author:
- Philipp Ossler
-
-
Constructor Summary
Constructors Constructor Description DefaultTypeDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetTypeName()StringtoString()org.camunda.bpm.engine.variable.value.TypedValuetransform(Object value)Transform the given value into the type specified by the type name.
-
-
-
Method Detail
-
transform
public org.camunda.bpm.engine.variable.value.TypedValue transform(Object value) throws IllegalArgumentException
Description copied from interface:DmnTypeDefinitionTransform the given value into the type specified by the type name.- Specified by:
transformin interfaceDmnTypeDefinition- Parameters:
value- to transform into the specified type- Returns:
- value of specified type
- Throws:
IllegalArgumentException- if the value can not be transformed
-
getTypeName
public String getTypeName()
- Specified by:
getTypeNamein interfaceDmnTypeDefinition- Returns:
- the type name of this definition
-
-