Package org.cyclos.model.app
Enum AppSubmodule
- java.lang.Object
-
- java.lang.Enum<AppSubmodule>
-
- org.cyclos.model.app.AppSubmodule
-
- All Implemented Interfaces:
Serializable,Comparable<AppSubmodule>,PrefixedEnum,Submodule
public enum AppSubmodule extends Enum<AppSubmodule> implements Submodule
A submodule used to comply with the translation for the new frontend
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TRANSLATIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Modulemodule()Returns the module for this submodulestatic AppSubmodulevalueOf(String name)Returns the enum constant of this type with the specified name.static AppSubmodule[]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
-
TRANSLATIONS
public static final AppSubmodule TRANSLATIONS
-
-
Field Detail
-
SEPARATOR
public static final String SEPARATOR
Separator used for keys on nesting- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AppSubmodule[] 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 (AppSubmodule c : AppSubmodule.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppSubmodule 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
-
-