org.jcreme.enumerations
Interface EnumerationInitializer
- All Known Implementing Classes:
- RMIEnumerationInitializer, SQLEnumerationInitializer
- public interface EnumerationInitializer
This interface specifies what an EnumerationIntializer must be. These
initializers must be used to import the values of various Enumeration
subclasses. It is up to the application developper to determine which classes
must have their values loaded.
- Version:
- $Revision: 1.1 $
- Author:
- $Author: dbregeon $
Method Summary |
void |
loadValues(java.lang.Class enumerationClass)
This method enables to load the values associated with the given class.
|
loadValues
public void loadValues(java.lang.Class enumerationClass)
throws java.lang.IllegalArgumentException
- This method enables to load the values associated with the given class.
After a call to this method, the values are available through the usual
class methods.
- Parameters:
enumerationClass
- a subclass of the Enumeration Class.
- Throws:
java.lang.IllegalArgumentException
- if the given class is null, not a subclass of Enumeration or
an abstract sublass of Enumeration.
Copyright 2006 null. All Rights Reserved.