Class RepoBasedEnumeration

java.lang.Object
com.polarion.platform.persistence.spi.AbstractEnumeration
com.polarion.platform.persistence.spi.RepoBasedEnumeration
All Implemented Interfaces:
IConfigurableEnumeration, IEnumeration
Direct Known Subclasses:
TypedEnumeration

public class RepoBasedEnumeration extends AbstractEnumeration implements IConfigurableEnumeration
Generic implementation of an enum factory. Works with a default configuration data handler (data handler must return Document), and predefined XML structure. The sample configuration looks like this:
 <?xml version="1.0" encoding="UTF-8"?>
  
      
 

The attributes id, name, sortOrder and default are processed, all the others are passed as enum option properties.

Author:
POLARION SOFTWARE