ilog.rules.bom

Interface IlrTransientProperties

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getPropertyValue(java.lang.String propertyName)
      Returns the values of a property.
      java.lang.Object getPropertyValue(java.lang.String propertyName, java.lang.Object defaultValue)
      Returns the value of a property.
      java.util.Iterator propertyNames()
      Returns the property names.
      void removeProperty(java.lang.String propertyName)
      Removes the property propertyName.
      void setPropertyValue(java.lang.String propertyName, java.lang.Object value)
      Sets the property propertyName to value.
    • Method Detail

      • propertyNames

        java.util.Iterator propertyNames()
        Returns the property names.
        Returns:
        a iterator over property names.
      • getPropertyValue

        java.lang.Object getPropertyValue(java.lang.String propertyName)
        Returns the values of a property.
        Parameters:
        propertyName - The name of the property.
        Returns:
        the value of the property with name propertyName and null if there is no such property.
      • getPropertyValue

        java.lang.Object getPropertyValue(java.lang.String propertyName,
                                        java.lang.Object defaultValue)
        Returns the value of a property.
        Since:
        JRules 6.0
        Parameters:
        propertyName - The name of the property.
        defaultValue - The default value to return is the property is not set.
        Returns:
        The value of the property with name propertyName or defaultValue if there is no such property.
      • setPropertyValue

        void setPropertyValue(java.lang.String propertyName,
                            java.lang.Object value)
        Sets the property propertyName to value. The property is also made non-persistent (in other words, transient)
        Parameters:
        propertyName - the property name
        value - a value.
      • removeProperty

        void removeProperty(java.lang.String propertyName)
        Removes the property propertyName.
        Parameters:
        propertyName - the property name

© Copyright IBM Corp. 1987, 2017