public enum MetatypeVersion extends java.lang.Enum<MetatypeVersion>
Enum Constant and Description |
---|
VERSION_1_2 |
VERSION_1_3 |
VERSION_1_4 |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
NAMESPACE_STEM |
private Version |
value |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespace() |
java.lang.String |
toString() |
(package private) static MetatypeVersion |
valueFor(java.lang.String s) |
static MetatypeVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetatypeVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetatypeVersion VERSION_1_2
public static final MetatypeVersion VERSION_1_3
public static final MetatypeVersion VERSION_1_4
private static final java.lang.String NAMESPACE_STEM
private final Version value
public static MetatypeVersion[] values()
for (MetatypeVersion c : MetatypeVersion.values()) System.out.println(c);
public static MetatypeVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MetatypeVersion>
public java.lang.String getNamespace()
static MetatypeVersion valueFor(java.lang.String s)