ilog.rules.shared.model

Class IlrDecorableElementImpl

  • java.lang.Object
    • ilog.rules.shared.model.IlrDecorableElementImpl
  • All Implemented Interfaces:
    IlrDecorableElement, java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    ilog.rules.dt.model.common.impl.DTAbstractElement


    public class IlrDecorableElementImpl
    extends java.lang.Object
    implements IlrDecorableElement, java.io.Serializable
    Base class for implementation of IlrDecorableElement.
    See Also:
    Serialized Form
    • 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 IlrDecorableElement.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.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrDecorableElementImpl

        public IlrDecorableElementImpl()
    • Method Detail

      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Specified by:
        clone in interface IlrDecorableElement
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException
        Returns:
        A copy of the object. Properties tagged IlrDecorableElement.INSTANCE are not copied.
      • getProperty

        public java.lang.Object getProperty(java.lang.Object key)
        Specified by:
        getProperty in interface IlrDecorableElement
        Parameters:
        key - The property key.
        Returns:
        The property value related to the key.
      • setProperty

        public void setProperty(java.lang.Object key,
                       java.lang.Object value)
        Description copied from interface: IlrDecorableElement
        Define a property value related to a property key. If the value is null, the property is removed from the decorable element.
        Specified by:
        setProperty in interface IlrDecorableElement
        Parameters:
        key - The property key.
        value - The property value.
      • getProperties

        public java.util.Map getProperties()
        Specified by:
        getProperties in interface IlrDecorableElement
        Returns:
        The property map of the decorable element.

© Copyright IBM Corp. 1987, 2017