Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicDomain

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

public class IlrDynamicDomain
extends Object
implements IlrDomain, 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 Summary
IlrDynamicDomain(IlrObjectModel objectModel)
          Deprecated. Use subclasses instead.
 
Method Summary
 IlrDynamicStaticReference addStaticReference(String name)
          Deprecated. See IlrDynamicEnumeratedDomain.
 IlrModelElement getRelatedElement()
          Returns the model element which is the object of this domain.
 List getStaticReferences()
          Deprecated. See IlrDynamicEnumeratedDomain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.rules.bom.IlrTransientProperties
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue
 

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

getRelatedElement

public IlrModelElement getRelatedElement()
Returns the model element which is the object of this domain.

Specified by:
getRelatedElement in interface IlrDomain
Since:
JRules 6.0

getStaticReferences

public List getStaticReferences()
Deprecated. See IlrDynamicEnumeratedDomain.

Returns the list of static references which defines the domain.

Specified by:
getStaticReferences in interface IlrDomain

addStaticReference

public IlrDynamicStaticReference addStaticReference(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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013