Interface DmnTypeDefinition
-
- All Known Implementing Classes:
DefaultTypeDefinition
,DmnTypeDefinitionImpl
public interface DmnTypeDefinition
The definition of a type used in the DMN engine to transform data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getTypeName()
TypedValue
transform(Object value)
Transform the given value into the type specified by the type name.
-
-
-
Method Detail
-
getTypeName
String getTypeName()
- Returns:
- the type name of this definition
-
transform
TypedValue transform(Object value) throws IllegalArgumentException
Transform the given value into the type specified by the type name.- Parameters:
value
- to transform into the specified type- Returns:
- value of specified type
- Throws:
IllegalArgumentException
- if the value can not be transformed
-
-