public static enum JavaEEProfile.Version extends Enum<JavaEEProfile.Version>
Enum Constant and Description |
---|
v1_2
JavaEE 1.2.
|
v1_3
JavaEE 1.3.
|
v1_4
JavaEE 1.4.
|
v1_5
JavaEE 1.5.
|
v1_6
JavaEE 1.6.
|
v1_7
JavaEE 1.7.
|
Modifier and Type | Field and Description |
---|---|
private String |
name
JavaEE profile type name.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Converts JavaEE profile type value to
String . |
static JavaEEProfile.Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaEEProfile.Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaEEProfile.Version v1_2
public static final JavaEEProfile.Version v1_3
public static final JavaEEProfile.Version v1_4
public static final JavaEEProfile.Version v1_5
public static final JavaEEProfile.Version v1_6
public static final JavaEEProfile.Version v1_7
private final String name
public static JavaEEProfile.Version[] values()
for (JavaEEProfile.Version c : JavaEEProfile.Version.values()) System.out.println(c);
public static JavaEEProfile.Version valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
String
.
toString
in class Enum<JavaEEProfile.Version>
String
representation of the value
of this object.Copyright © 2013. All Rights Reserved.