ilog.rules.bom.dynamic

Class IlrDynamicComponentProperty

    • Method Detail

      • isReadonly

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

        public boolean isWriteonly()
        Returns true if the property is write only.
        Specified by:
        isWriteonly in interface IlrComponentProperty
        Since:
        JRules 6.0
      • setReadMethod

        public void setReadMethod(IlrMethod readMethod)
        Sets the getter method to access this property.

        Note that this method may be null if the property is write-only.

        Specified by:
        setReadMethod in interface IlrMutableComponentProperty
        Parameters:
        readMethod - An instance of IlrMethod.
      • setWriteMethod

        public void setWriteMethod(IlrMethod writeMethod)
        Sets the setter method to write this property.

        Note that this method may be null if the property is read-only.

        Specified by:
        setWriteMethod in interface IlrMutableComponentProperty
        Parameters:
        writeMethod - An instance of IlrMethod.
      • getNativeDescriptor

        public java.beans.PropertyDescriptor getNativeDescriptor()
        Returns the descriptor of the property (for JavaBeans properties) or null if there is none.
        Specified by:
        getNativeDescriptor in interface IlrComponentProperty
      • getPropertyType

        public IlrType getPropertyType()
        Returns the property type. Note that it can be null sometimes in the case of an indexed component property
        Specified by:
        getPropertyType in interface IlrComponentProperty
      • 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
      • getReadMethod

        public IlrMethod getReadMethod()
        Returns the getter method to access this property.

        Note that this method may return null if the property is write-only.

        Specified by:
        getReadMethod in interface IlrComponentProperty
      • getWriteMethod

        public IlrMethod getWriteMethod()
        Returns the setter method to set the value this property.

        Note that this method may return null if the property is read-only.

        Specified by:
        getWriteMethod in interface IlrComponentProperty
      • registerInDeclaringClass

        protected void registerInDeclaringClass()

© Copyright IBM Corp. 1987, 2017