ilog.rules.bom

Interface IlrType

    • Method Detail

      • getRawName

        java.lang.String getRawName()
        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().
      • getFullyQualifiedRawName

        java.lang.String getFullyQualifiedRawName()
        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().
        Since:
        JRules 7
      • isPrimitiveType

        boolean isPrimitiveType()
        Returns true if the type is a primitive type.
        Returns:
        true if the type is an instance of IlrPrimitiveType.
      • isEnum

        boolean isEnum()
        Returns true if the type is an enum.
        Returns:
        true if the type is an instance of IlrEnum.
      • isClass

        boolean isClass()
        Returns true if the type is a class.
        Returns:
        true if the type is a class (see IlrClass).
      • isMissingReference

        boolean isMissingReference()
        Returns true if this type is a missing reference. A missing reference stands for a missing type in a business object model.
        Since:
        JRules 6.0
      • isTypeVariable

        boolean isTypeVariable()
        Returns true if the type is a type variable.
        Since:
        JRules 6.0
        Returns:
        true if the type is a type variable (see IlrTypeVariable).
      • isWildcardType

        boolean isWildcardType()
        Returns true if the type is a wild card type.
        Since:
        JRules 6.0
        Returns:
        true if the type is a wild card type (see IlrWildcardType).
      • getDomain

        IlrDomain getDomain()
        Returns the domain of the type.
        Since:
        JRules 5.0
        Returns:
        The type domain or null if the type does not have a domain.

        Note: The returned domain may be the super type domain if it is applicable, thus be careful if you want to change it.

      • getArrayType

        IlrType getArrayType()
        Returns the type "array of this type".
        Returns:
        The type "array of this type".
      • getArrayClass

        IlrClass getArrayClass()
        Returns the type "array of this type".
        Returns:
        The type "array of this type".
      • isArray

        boolean isArray()
        Returns true if this type is an array class.
      • getComponentType

        IlrType getComponentType()
        Returns the component type if this type is an array type, null otherwise.
      • getJavaClass

        java.lang.Class getJavaClass()
        Deprecated. Use getNativeClass instead.
        Returns the Java class currently being reflected or null.
      • getNativeClass

        java.lang.Class getNativeClass()
        Returns the native class represented by this IlrType, or null.
      • detach

        void detach()
        Detaches this type from its associated Java class.
        Throws:
        java.lang.UnsupportedOperationException - If the type cannot be detached.

© Copyright IBM Corp. 1987, 2017