org.fopps.model
Interface Enum

All Known Implementing Classes:
ArtefactCategory, BindingTime, ConstraintType, Filesize, ProjectStatus

public interface Enum

Interface Enum should be implemented by all enumeration types. Enumerations are a fixed set of instances. So you need not create them explicitly and they have no public constructor. Enumerations can easily displayed via EnumComboBox.

See Also:
EnumComboBox

Method Summary
 java.lang.Object getDefault()
          Returns the default value of the enumeration
 java.lang.Object[] getInstances()
          Returns all possible instances of the enumeration
 int getValue()
          Returns the current value (numeric representation) of the enumeration.
 

Method Detail

getValue

public int getValue()
Returns the current value (numeric representation) of the enumeration.


getInstances

public java.lang.Object[] getInstances()
Returns all possible instances of the enumeration


getDefault

public java.lang.Object getDefault()
Returns the default value of the enumeration



Fopps 0.19 - Copyright © 2002 Oliver Wieland. All Rights Reserved.