Interface DmnTypeDefinition
-
- All Known Implementing Classes:
DefaultTypeDefinition,DmnTypeDefinitionImpl
public interface DmnTypeDefinitionThe 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 java.lang.StringgetTypeName()TypedValuetransform(java.lang.Object value)Transform the given value into the type specified by the type name.
-
-
-
Method Detail
-
getTypeName
java.lang.String getTypeName()
- Returns:
- the type name of this definition
-
transform
TypedValue transform(java.lang.Object value) throws java.lang.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:
java.lang.IllegalArgumentException- if the value can not be transformed
-
-