ilog.rules.shared.model

Interface IlrDecorableElement

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String INSTANCE
      Prefix of properties dropped by clone() and addProperties().
      static java.lang.String TRANSIENT
      Prefix for transient properties (not serialized).
      static java.lang.String VOLATILE
      Prefix for volatile properties.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void addProperties(java.util.Map properties)
      Add all properties from the map to the decorable element except all properties tagged INSTANCE.
      void clearProperties()
      Remove all property values from the decorable element.
      void clearVolatileProperties()
      Remove all volatile property values from the decorable element.
      java.lang.Object clone() 
      java.util.Map getProperties() 
      java.lang.Object getProperty(java.lang.Object key) 
      void setProperty(java.lang.Object key, java.lang.Object value)
      Define a property value related to a property key.
    • Field Detail

      • INSTANCE

        static final java.lang.String INSTANCE
        Prefix of properties dropped by clone() and addProperties().
        See Also:
        Constant Field Values
      • TRANSIENT

        static final java.lang.String TRANSIENT
        Prefix for transient properties (not serialized).
        See Also:
        Constant Field Values
      • VOLATILE

        static final java.lang.String VOLATILE
        Prefix for volatile properties. Volatile properties are transient and instance and are explicitly cleared by a call to clearVolatileProperties
        See Also:
        Constant Field Values
    • Method Detail

      • clone

        java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
        Returns:
        A copy of the object. Properties tagged INSTANCE are not copied.
      • getProperty

        java.lang.Object getProperty(java.lang.Object key)
        Parameters:
        key - The property key.
        Returns:
        The property value related to the key.
      • setProperty

        void setProperty(java.lang.Object key,
                       java.lang.Object value)
        Define a property value related to a property key. If the value is null, the property is removed from the decorable element.
        Parameters:
        key - The property key.
        value - The property value.
      • getProperties

        java.util.Map getProperties()
        Returns:
        The property map of the decorable element.
      • addProperties

        void addProperties(java.util.Map properties)
        Add all properties from the map to the decorable element except all properties tagged INSTANCE.
        Parameters:
        properties -
      • clearProperties

        void clearProperties()
        Remove all property values from the decorable element.
      • clearVolatileProperties

        void clearVolatileProperties()
        Remove all volatile property values from the decorable element.

© Copyright IBM Corp. 1987, 2017