Rule Execution Server API

ilog.rules.bom.dynamic
Class IlrDynamicEnumeratedDomain

java.lang.Object
  extended by ilog.rules.bom.dynamic.IlrDynamicDomain
      extended by ilog.rules.bom.dynamic.IlrDynamicEnumeratedDomain
All Implemented Interfaces:
IlrDomain, IlrEnumeratedDomain, IlrTransientProperties, Serializable

public class IlrDynamicEnumeratedDomain
extends IlrDynamicDomain
implements IlrEnumeratedDomain

Implementation of the IlrEnumeratedDomain.

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.

Since:
JRules 5.0
See Also:
Serialized Form

Method Summary
 boolean containsOnlyStaticReferences()
          Returns true if the enumerated domain contains only static references
 boolean containsRefToAttribute(String attributeName, String attributeFQN)
          Returns true if the enumerated domain contains a reference to an attribute;
 List getValues()
          Returns a list of the values in the domain.
 
Methods inherited from class ilog.rules.bom.dynamic.IlrDynamicDomain
addStaticReference, getRelatedElement, getStaticReferences
 
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.IlrDomain
getRelatedElement, getStaticReferences
 
Methods inherited from interface ilog.rules.bom.IlrTransientProperties
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue
 

Method Detail

getValues

public List getValues()
Returns a list of the values in the domain.

Specified by:
getValues in interface IlrEnumeratedDomain
Returns:
A list of the values in the domain. The returned list contains IlrAbstractValues.

containsOnlyStaticReferences

public boolean containsOnlyStaticReferences()
Description copied from interface: IlrEnumeratedDomain
Returns true if the enumerated domain contains only static references

Specified by:
containsOnlyStaticReferences in interface IlrEnumeratedDomain
Returns:
true if domain of static references

containsRefToAttribute

public boolean containsRefToAttribute(String attributeName,
                                      String attributeFQN)
Description copied from interface: IlrEnumeratedDomain
Returns true if the enumerated domain contains a reference to an attribute;

Specified by:
containsRefToAttribute in interface IlrEnumeratedDomain
Parameters:
attributeName - The attribute name
attributeFQN - The attribute fully qualified name
Returns:
true if the domain contains a static reference to the attribute.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013