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
Methods Modifier and Type Method and Description booleancontainsOnlyStaticReferences()Returns true if the enumerated domain contains only static referencesbooleancontainsRefToAttribute(java.lang.String attributeName, java.lang.String attributeFQN)Returns true if the enumerated domain contains a reference to an attribute;java.util.ListgetValues()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
java.util.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(java.lang.String attributeName, java.lang.String attributeFQN)Returns true if the enumerated domain contains a reference to an attribute;- Since:
- ODM 8.5.1
- Parameters:
attributeName- The attribute nameattributeFQN- The attribute fully qualified name- Returns:
- true if the domain contains a static reference to the attribute.
-
-