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

    Modifier and Type
    Method
    Description
     
    Transform the given value into the type specified by the type name.
  • Method Details

    • 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