ilog.rules.bom.dynamic

Class IlrDynamicTypeVariable

    • Method Detail

      • setBounds

        public void setBounds(IlrType[] bounds)
        Sets the bounds of this type variable.
        Specified by:
        setBounds in interface IlrTypeVariable
        Parameters:
        bounds - The bounds.
      • getNativeClass

        public java.lang.Class getNativeClass()
        Returns null
        Specified by:
        getNativeClass in interface IlrType
      • detach

        public void detach()
        Detaches this type from its associated Java class.
        Specified by:
        detach in interface IlrType
        Throws:
        java.lang.UnsupportedOperationException - if the type cannot be detached.
      • getDeclaringElement

        public IlrModelElement getDeclaringElement()
        Returns the element in which this type variable is declared. It can be a generic method or a generic class.
        Specified by:
        getDeclaringElement in interface IlrTypeVariable
        Returns:
        The declaring element. A method or a class.
      • getBounds

        public IlrType[] getBounds()
        Returns the bounds of this type variable. This corresponds the bounds that can be set using the keyword extends in Java.
        Specified by:
        getBounds in interface IlrTypeVariable
        Returns:
        the bounds of this type variable.

© Copyright IBM Corp. 1987, 2017