Class IdentityDataTypeTransformer

  • All Implemented Interfaces:
    DmnDataTypeTransformer

    public class IdentityDataTypeTransformer
    extends java.lang.Object
    implements DmnDataTypeTransformer
    Transform the given value into untyped value.
    Author:
    Philipp Ossler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      TypedValue transform​(java.lang.Object value)
      Transform the given value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentityDataTypeTransformer

        public IdentityDataTypeTransformer()
    • Method Detail

      • transform

        public TypedValue transform​(java.lang.Object value)
                             throws java.lang.IllegalArgumentException
        Description copied from interface: DmnDataTypeTransformer
        Transform the given value.
        Specified by:
        transform in interface DmnDataTypeTransformer
        Parameters:
        value - of any type
        Returns:
        value of the specific type
        Throws:
        java.lang.IllegalArgumentException - if the value can not be transformed