ilog.rules.vocabulary.model

Interface IlrBaseElement

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void accept(IlrVocabularyVisitor visitor)
      Accepts a vocabulary visitor.
      void clearInstanceProperties()
      Removes all instance properties of this element.
      void clearProperties()
      Removes all the properties of this element.
      void clearVolatileProperties()
      Removes all volatile properties of this element.
      void delete()
      Deletes this element.
      java.util.Map getProperties()
      Gets all the properties of this element as a java.util.Map.
      java.lang.Object getProperty(java.lang.String key)
      Gets a property by its key from the list of properties of this element.
      boolean hasProperty(java.lang.String key)
      Tests if this element contains a property with the specified key.
      boolean isDeleted()
      Tests if this element is deleted.
      void removeProperty(java.lang.String key)
      Removes a single property by its key.
      void setProperties(java.util.Map props)
      Adds a set of properties specified as a java.util.Map.
      void setProperty(java.lang.String key, java.lang.Object value)
      Adds a valued property to this element.
    • Method Detail

      • getProperty

        java.lang.Object getProperty(java.lang.String key)
        Gets a property by its key from the list of properties of this element.
        Parameters:
        key - The key of the property.
        Returns:
        The property value, or null if the property does not exist for this element.
      • setProperty

        void setProperty(java.lang.String key,
                       java.lang.Object value)
        Adds a valued property to this element. If the property already exists for this element (property with the same key) then it is overwritten.
        Parameters:
        key - The key of the property.
        value - The value of the property.
      • setProperties

        void setProperties(java.util.Map props)
        Adds a set of properties specified as a java.util.Map. Existing properties with the same key are overwritten. The others are kept.
        Parameters:
        props - The map of properties to add.
      • getProperties

        java.util.Map getProperties()
        Gets all the properties of this element as a java.util.Map.
        Returns:
        The map of all properties of this element.
      • clearProperties

        void clearProperties()
        Removes all the properties of this element.
      • clearInstanceProperties

        void clearInstanceProperties()
        Removes all instance properties of this element. These properties are not cloned
      • clearVolatileProperties

        void clearVolatileProperties()
        Removes all volatile properties of this element. These properties are not cloned and removed by a call to this method.
      • removeProperty

        void removeProperty(java.lang.String key)
        Removes a single property by its key.
        Parameters:
        key - The key of the property to remove.
      • hasProperty

        boolean hasProperty(java.lang.String key)
        Tests if this element contains a property with the specified key.
        Parameters:
        key - The key of the property.
        Returns:
        true if this element contains a property with that key.
      • delete

        void delete()
        Deletes this element. This method must be used to free internal references.
      • isDeleted

        boolean isDeleted()
        Tests if this element is deleted.
        Returns:
        true if the element is deleted.
      • accept

        void accept(IlrVocabularyVisitor visitor)
        Accepts a vocabulary visitor.
        Parameters:
        visitor - The IlrVocabularyVisitor instance.

© Copyright IBM Corp. 1987, 2017