Rule Execution Server API

ilog.rules.bom
Interface IlrEnumeratedDomain

All Superinterfaces:
IlrDomain, IlrTransientProperties
All Known Implementing Classes:
IlrDynamicEnumeratedDomain

public interface IlrEnumeratedDomain
extends IlrDomain

An enumerated domain is a domain defined by a list of possible values.


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 interface ilog.rules.bom.IlrDomain
getRelatedElement, getStaticReferences
 
Methods inherited from interface ilog.rules.bom.IlrTransientProperties
getPropertyValue, getPropertyValue, propertyNames, removeProperty, setPropertyValue
 

Method Detail

getValues

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

Returns:
A list of the values in the domain. The returned list contains IlrAbstractValues.

containsOnlyStaticReferences

boolean containsOnlyStaticReferences()
Returns true if the enumerated domain contains only static references

Since:
ODM 8.5.1
Returns:
true if domain of static references

containsRefToAttribute

boolean containsRefToAttribute(String attributeName,
                               String attributeFQN)
Returns true if the enumerated domain contains a reference to an attribute;

Since:
ODM 8.5.1
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