Class DmnTypeDefinitionImpl

    • Constructor Detail

      • DmnTypeDefinitionImpl

        public DmnTypeDefinitionImpl​(java.lang.String typeName,
                                     DmnDataTypeTransformer transformer)
    • Method Detail

      • transform

        public TypedValue transform​(java.lang.Object value)
        Description copied from interface: DmnTypeDefinition
        Transform the given value into the type specified by the type name.
        Specified by:
        transform in interface DmnTypeDefinition
        Parameters:
        value - to transform into the specified type
        Returns:
        value of specified type
      • transformNotNullValue

        protected TypedValue transformNotNullValue​(java.lang.Object value)
      • getTypeName

        public java.lang.String getTypeName()
        Specified by:
        getTypeName in interface DmnTypeDefinition
        Returns:
        the type name of this definition
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object