public enum KindOfVersion extends java.lang.Enum<KindOfVersion>
Stellt alle Möglichkeiten dar, in der ein Objekt in einer Version gültig sein kann.
Enum Constant and Description |
---|
IN_ALL_VERSIONS
In allen Versionen
|
IN_ANY_VERSIONS
In jeder Version
|
IN_NEXT_VERSION
In der nächsten Version
|
IN_VERSION
In der derzeit benutzten Version
|
Modifier and Type | Field and Description |
---|---|
private byte |
_code |
private java.lang.String |
_name |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
static KindOfVersion |
getInstance(byte code) |
java.lang.String |
getName() |
java.lang.String |
toString() |
static KindOfVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KindOfVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KindOfVersion IN_NEXT_VERSION
public static final KindOfVersion IN_VERSION
public static final KindOfVersion IN_ALL_VERSIONS
public static final KindOfVersion IN_ANY_VERSIONS
public static KindOfVersion[] values()
for (KindOfVersion c : KindOfVersion.values()) System.out.println(c);
public static KindOfVersion 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 static KindOfVersion getInstance(byte code)
public byte getCode()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<KindOfVersion>