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 boolean
equals(Object obj)
String
getTypeName()
String
toString()
TypedValue
transform(Object value)
Transform the given value into the type specified by the type name.
-
-
-
Method Detail
-
transform
public TypedValue transform(Object value) throws IllegalArgumentException
Description copied from interface:DmnTypeDefinition
Transform the given value into the type specified by the type name.- Specified by:
transform
in 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:
getTypeName
in interfaceDmnTypeDefinition
- Returns:
- the type name of this definition
-
-