ilog.rules.bom.dynamic

Class IlrDynamicMember

    • Method Detail

      • getEnclosingNamespace

        public IlrNamespace getEnclosingNamespace()
        Returns the enclosing namespace of this member, that is the declaring class.
        Specified by:
        getEnclosingNamespace in interface IlrModelElement
        Returns:
        a namespace or null
      • setPackageVisibility

        public void setPackageVisibility()
        Sets the visibility of this member to package.

        Note: This is the default setting for the visibility.

        Specified by:
        setPackageVisibility in interface IlrMutableMember
      • isPublic

        public boolean isPublic()
        Returns true if the member is public.
        Specified by:
        isPublic in interface IlrMember
      • setPublic

        public void setPublic()
        Sets the visibility of this member to public.
        Specified by:
        setPublic in interface IlrMutableMember
      • isProtected

        public boolean isProtected()
        Returns true if the member is protected.
        Specified by:
        isProtected in interface IlrMember
      • setProtected

        public void setProtected()
        Sets the visibility of this member to protected.
        Specified by:
        setProtected in interface IlrMutableMember
      • isPrivate

        public boolean isPrivate()
        Returns true if the member is private.
        Specified by:
        isPrivate in interface IlrMember
      • setPrivate

        public void setPrivate()
        Sets the visibility of this member to private.
        Specified by:
        setPrivate in interface IlrMutableMember
      • isStatic

        public boolean isStatic()
        Returns true if the member is static.
        Specified by:
        isStatic in interface IlrMember
      • isFinal

        public boolean isFinal()
        Returns true if the member is final.
        Specified by:
        isFinal in interface IlrMember
      • setStatic

        public void setStatic(boolean flag)
        Sets the static property of this member. Initially, this property is false.
        Specified by:
        setStatic in interface IlrMutableMember
        Parameters:
        flag - The new value of the static property.
      • setFinal

        public void setFinal(boolean flag)
        Sets the 'final' property of this member. Initially, this property is false.
        Specified by:
        setFinal in interface IlrMutableMember
        Parameters:
        flag - The new value of the final property.
      • getMemberType

        public IlrType getMemberType()
        Returns the type of the member. The returned type depends on the actual kind of member, yet you can expect that it will be the type of an attribute or the returned type for a method.
        Specified by:
        getMemberType in interface IlrMember
      • getDomain

        public IlrDomain getDomain()
        Returns the domain of the member.
        Specified by:
        getDomain in interface IlrMember
        Returns:
        The member domain or null if the member and the member type do not have a domain.

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

        See Also:
        IlrType.getDomain()

© Copyright IBM Corp. 1987, 2021