ilog.rules.bom.dynamic

Class IlrDynamicDomain

  • java.lang.Object
    • ilog.rules.bom.dynamic.IlrDynamicDomain
  • All Implemented Interfaces:
    IlrDomain, IlrTransientProperties, java.io.Serializable
    Direct Known Subclasses:
    IlrDynamicBoundedDomain, IlrDynamicDomainIntersection, IlrDynamicEnumeratedDomain, IlrDynamicPatternDomain


    public class IlrDynamicDomain
    extends java.lang.Object
    implements IlrDomain, java.io.Serializable
    An implementation of the IlrDomain interface.

    Changes in JRules 5.0: The list of interfaces that are implemented by this class has changed. The IlrDynamicDomain class used to implement IlrModelElement, IlrNamespace and IlrProperties, but it did not reflect how it was serialized in Java-like XML formats: the name and the properties of a domain were not serialized. The new list of interfaces corresponds to what is serialized. If you used the setName(...) and getName() of the previous version of IlrDynamicDomain, you can replace these method calls by calling setPropertyValue("name",...) and getPropertyValue("name") respectively.

    Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of IBM Decision Server.

    See Also:
    Serialized Form
    • Constructor Detail

      • IlrDynamicDomain

        public IlrDynamicDomain(IlrObjectModel objectModel)
        Deprecated. Use subclasses instead.
        Creates an empty domain.
        Parameters:
        objectModel - the object model to which the domain belongs.
    • Method Detail

      • addStaticReference

        public IlrDynamicStaticReference addStaticReference(java.lang.String name)
        Deprecated. See IlrDynamicEnumeratedDomain.
        Adds an item in this domain. Note that this method does not check that the name is not already used in this domain.
        Parameters:
        name - the item name.
        Returns:
        the added item.

© Copyright IBM Corp. 1987, 2017