ilog.rules.bom.dynamic

Class IlrDynamicAttribute

    • Method Detail

      • isReadonly

        public boolean isReadonly()
        Returns true if the attribute is read-only.
        Specified by:
        isReadonly in interface IlrAttribute
        Since:
        JRules 6.0
        Returns:
        true if the attribute is read-only.
      • isWriteonly

        public boolean isWriteonly()
        Returns true if the attribute is write-only.
        Specified by:
        isWriteonly in interface IlrAttribute
        Since:
        JRules 6.0
        Returns:
        true if the attribute is write-only.
      • isAbstract

        public boolean isAbstract()
        Returns true if the attribute is abstract. An attribute may be abstract in a business model.
        Specified by:
        isAbstract in interface IlrAttribute
        Since:
        JRules 6.5
        Returns:
        true if the attribute is abstract.
      • setReadonly

        public void setReadonly(boolean set)
        Sets if the attribute is read only
        Specified by:
        setReadonly in interface IlrMutableAttribute
        Since:
        JRules 6.0
        Parameters:
        set - true if the attribute is read only.
      • setWriteonly

        public void setWriteonly(boolean set)
        Sets if the attribute is write only
        Specified by:
        setWriteonly in interface IlrMutableAttribute
        Since:
        JRules 6.0
        Parameters:
        set - true if the attribute is write only.
      • setAbstract

        public void setAbstract(boolean set)
        Sets if the attribute is abstract
        Specified by:
        setAbstract in interface IlrMutableAttribute
        Since:
        JRules 6.0
        Parameters:
        set - true if the attribute is abstract.
      • setFinal

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

        public java.lang.reflect.Field getJavaField()
        Deprecated. Use getNativeField() instead.
        Returns the Java field currently being reflected or null.
        Specified by:
        getJavaField in interface IlrAttribute
      • getNativeField

        public java.lang.reflect.Field getNativeField()
        Returns the native field represented by this IlrAttribute, or null.
        Specified by:
        getNativeField in interface IlrAttribute
        Returns:
        The native field represented by this IlrAttribute, or null.
      • 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
        Overrides:
        getMemberType in class IlrDynamicMember
        Returns:
        The type of the member.
      • isTransient

        public boolean isTransient()
        Returns true if the attribute is transient.
        Specified by:
        isTransient in interface IlrAttribute
      • setTransient

        public void setTransient(boolean flag)
        Sets the 'transient' property of this attribute. Initially this property is false.
        Specified by:
        setTransient in interface IlrMutableAttribute
        Parameters:
        flag - The new value of the 'transient' property.
      • setVolatile

        public void setVolatile(boolean flag)
        Sets the 'volatile' property of this attribute. Initially this property is false.
        Parameters:
        flag - The new value of the 'volatile' property.
      • getInitialValue

        public java.lang.Object getInitialValue()
        Returns the initial value of the attribute.
        Specified by:
        getInitialValue in interface IlrAttribute
        Since:
        JRules 5.0

© Copyright IBM Corp. 1987, 2017