Package adalid.jee2
Enum ProjectModuleType
- java.lang.Object
-
- java.lang.Enum<ProjectModuleType>
-
- adalid.jee2.ProjectModuleType
-
- All Implemented Interfaces:
Serializable,Comparable<ProjectModuleType>
public enum ProjectModuleType extends Enum<ProjectModuleType>
- Author:
- Jorge Campins
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSuffix()static ProjectModuleTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectModuleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EAR
public static final ProjectModuleType EAR
-
EJB
public static final ProjectModuleType EJB
-
LIB
public static final ProjectModuleType LIB
-
RESOURCES
public static final ProjectModuleType RESOURCES
-
WEB
public static final ProjectModuleType WEB
-
WEB_API
public static final ProjectModuleType WEB_API
-
-
Method Detail
-
values
public static ProjectModuleType[] 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 (ProjectModuleType c : ProjectModuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectModuleType 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
-
getSuffix
public String getSuffix()
-
-