Advanced Customization > Services and Infrastructure Customization > Enumerated Types > External Enumerated Value Lists > Solution
  
Solution
Implement an EnumerationInfoProvider to supply the enumerated list and configure a constraint in the Type and Attribute Management utility to use your EnumerationInfoProvider.
Prerequisite Knowledge
To achieve this objective, you need to have an understanding of the following:
Adding constraints to an attribute in the Type and Attribute Management utility.
How to extract the required enumeration values from your external source.
Solution Elements
Element
Type
Description
EnumerationInfoProvider
java
The interface defines how to implement a custom dynamic enumeration provider. Instances of this are instantiated through reflection. Therefore a public no-arg constructor is required. Any exceptions thrown from the methods in this interface result in an empty enumeration.
EnumerationInfoManager
java
This interface defines the method that enumeration info providers can use to reset their cached enumerations.
EnumerationInfo
java
This class represents an enumeration. It contains both the properties of the enumeration as well as it's entries. This class is not thread safe and should not be modified after handing it off to other code.
EnumerationEntryInfo
java
This class represents an enumeration entry. It contains the properties of the enumeration entry. There is a unique name for each enumeration entry.