Class DefaultTypeDefinition

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getTypeName()  
      java.lang.String toString()  
      TypedValue transform​(java.lang.Object value)
      Transform the given value into the type specified by the type name.
      • Methods inherited from class java.lang.Object

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

      • DefaultTypeDefinition

        public DefaultTypeDefinition()
    • Method Detail

      • transform

        public TypedValue transform​(java.lang.Object value)
                             throws java.lang.IllegalArgumentException
        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
        Throws:
        java.lang.IllegalArgumentException - if the value can not be transformed
      • getTypeName

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

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object