Class AliasFEELType

  • All Implemented Interfaces:
    SimpleType, Type

    public class AliasFEELType
    extends java.lang.Object
    implements SimpleType
    Useful for ItemDefinition at DMN layer redefining as an alias a basic FEEL type.
    • Constructor Detail

      • AliasFEELType

        public AliasFEELType​(java.lang.String name,
                             BuiltInType wrapped)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Type
      • isInstanceOf

        public boolean isInstanceOf​(java.lang.Object o)
        Description copied from interface: Type
        Definition of `instance of` accordingly to FEEL specifications Table 49.
        Specified by:
        isInstanceOf in interface Type
        Returns:
        if o is instance of the type represented by this type. If the parameter is null, returns false.
      • isAssignableValue

        public boolean isAssignableValue​(java.lang.Object value)
        Description copied from interface: Type
        Check if the value passed as parameter can be assigned to this type.
        Specified by:
        isAssignableValue in interface Type
        Returns:
        if value can be assigned to the type represented by this type. If the parameter is null, returns true.
      • conformsTo

        public boolean conformsTo​(Type t)
        Description copied from interface: Type
        Check if this type does Conform to specified type t accordingly to FEEL DMN specification 10.3.2.9.2 Type Conformance
        Specified by:
        conformsTo in interface Type
        Returns:
        if this type does conform to specified type.