ilog.rules.bom

Interface IlrAttribute

    • Method Detail

      • getAttributeType

        IlrType getAttributeType()
        Returns the type of the attribute.
      • isTransient

        boolean isTransient()
        Returns true if the attribute is transient.
      • isReadonly

        boolean isReadonly()
        Returns true if the attribute is read-only.
        Since:
        JRules 6.0
      • isWriteonly

        boolean isWriteonly()
        Returns true if the attribute is write-only.
        Since:
        JRules 6.0
      • isAbstract

        boolean isAbstract()
        Returns true if the attribute is abstract. An attribute may be abstract in a business model.
        Since:
        JRules 6.5
      • visit

        boolean visit(IlrObjectModel.Visitor visitor)
        Deprecated. Use IlrVisitor instead.
        If the type of the attribute is an IlrClass, this method applies the visitor's visitClass method to this class and it returns the result of this call. Otherwise if the attribute's type is an IlrEnum this method applies the visitor's visitEnum method to this enum and it returns the result of this call. Otherwise this method returns true.
      • getJavaField

        java.lang.reflect.Field getJavaField()
        Deprecated. Use getNativeField instead.
        Returns the Java field currently being reflected or null.
      • getNativeField

        java.lang.reflect.Field getNativeField()
        Returns the native field represented by this IlrAttribute or null.
      • getInitialValue

        java.lang.Object getInitialValue()
        Returns the initial value of the attribute. The initial value may be a regular Java object, or an instance of IlrAbstractValue.

© Copyright IBM Corp. 1987, 2017