Enum KindOfVersion
- java.lang.Object
-
- java.lang.Enum<KindOfVersion>
-
- de.bsvrz.dav.daf.main.impl.config.request.KindOfVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KindOfVersion>
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 Summary
Enum Constants Enum Constant Description IN_ALL_VERSIONS
In allen VersionenIN_ANY_VERSIONS
In jeder VersionIN_NEXT_VERSION
In der nächsten VersionIN_VERSION
In der derzeit benutzten Version
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
IN_NEXT_VERSION
public static final KindOfVersion IN_NEXT_VERSION
In der nächsten Version
-
IN_VERSION
public static final KindOfVersion IN_VERSION
In der derzeit benutzten Version
-
IN_ALL_VERSIONS
public static final KindOfVersion IN_ALL_VERSIONS
In allen Versionen
-
IN_ANY_VERSIONS
public static final KindOfVersion IN_ANY_VERSIONS
In jeder Version
-
-
Method Detail
-
values
public static KindOfVersion[] 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 (KindOfVersion c : KindOfVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KindOfVersion valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInstance
public static KindOfVersion getInstance(byte code)
-
getCode
public byte getCode()
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<KindOfVersion>
-
-