Package org.cyclos.model.general
Enum GeneralSubmodule
- java.lang.Object
-
- java.lang.Enum<GeneralSubmodule>
-
- org.cyclos.model.general.GeneralSubmodule
-
- All Implemented Interfaces:
Serializable,Comparable<GeneralSubmodule>,PrefixedEnum,Submodule
public enum GeneralSubmodule extends Enum<GeneralSubmodule> implements Submodule
Submodules for theGENERALmodule
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORSINITIAL_DATAMENUUI
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Modulemodule()Returns the module for this submodulestatic GeneralSubmodulevalueOf(String name)Returns the enum constant of this type with the specified name.static GeneralSubmodule[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.cyclos.utils.PrefixedEnum
name
-
-
-
-
Enum Constant Detail
-
UI
public static final GeneralSubmodule UI
-
MENU
public static final GeneralSubmodule MENU
-
ERRORS
public static final GeneralSubmodule ERRORS
-
INITIAL_DATA
public static final GeneralSubmodule INITIAL_DATA
-
-
Method Detail
-
values
public static GeneralSubmodule[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeneralSubmodule c : GeneralSubmodule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneralSubmodule valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-