ilog.rules.bom.dynamic

Class IlrDynamicType

    • Method Detail

      • isPrimitiveType

        public boolean isPrimitiveType()
        Returns true if the type is a primitive type.
        Specified by:
        isPrimitiveType in interface IlrType
        Returns:
        true if the type is an instance of IlrPrimitiveType
      • isEnum

        public boolean isEnum()
        Returns true if the type is an enum.
        Specified by:
        isEnum in interface IlrType
        Returns:
        true if the type is an instance of IlrEnum
      • isClass

        public boolean isClass()
        Returns true if the type is a class.
        Specified by:
        isClass in interface IlrType
        Returns:
        true if the type is an instance of IlrClass
      • isTypeVariable

        public boolean isTypeVariable()
        Returns true if the type is a type variable.
        Specified by:
        isTypeVariable in interface IlrType
        Since:
        JRules 6.0
        Returns:
        true if the type is a type variable (see IlrTypeVariable).
      • isWildcardType

        public boolean isWildcardType()
        Returns true if the type is a wild card type.
        Specified by:
        isWildcardType in interface IlrType
        Since:
        JRules 6.0
        Returns:
        true if the type is a wild card type (see IlrWildcardType).
      • isArray

        public boolean isArray()
        Returns true if this type is an array class.
        Specified by:
        isArray in interface IlrType
      • getArrayType

        public IlrType getArrayType()
        Description copied from interface: IlrType
        Returns the type "array of this type".
        Specified by:
        getArrayType in interface IlrType
        Returns:
        the type "array of this type".
      • getArrayClass

        public IlrClass getArrayClass()
        Description copied from interface: IlrType
        Returns the type "array of this type".
        Specified by:
        getArrayClass in interface IlrType
        Returns:
        the type "array of this type".
      • getComponentType

        public IlrType getComponentType()
        Returns the component type if this type is an array type, null otherwise.
        Specified by:
        getComponentType in interface IlrType
      • getRawName

        public java.lang.String getRawName()
        Description copied from interface: IlrType
        Returns the raw name of this type. For a generic type, the raw name is the name without the generic parameters. For a non-generic type, it returns the name of the type, as returned by IlrModelElement.getName().
        Specified by:
        getRawName in interface IlrType
      • getFullyQualifiedRawName

        public java.lang.String getFullyQualifiedRawName()
        Description copied from interface: IlrType
        Returns the fully qualified raw name of this type. For a generic type, the fully qualified raw name is the fully qualified name without the generic parameters. For a non-generic type, it returns the name of the type, as returned by IlrModelElement.getFullyQualifiedName().
        Specified by:
        getFullyQualifiedRawName in interface IlrType

© Copyright IBM Corp. 1987, 2017