java.io.Serializable
, java.lang.Comparable<TimeSpecificationType>
public enum TimeSpecificationType extends java.lang.Enum<TimeSpecificationType>
Enum Constant | Description |
---|---|
VALID |
Für Objekte, die aktuell gültig sind.
|
VALID_AT_TIME |
Für Objekte, die zu einem bestimmten Zeitpunkt gültig waren.
|
VALID_DURING_PERIOD |
Für Objekte, die während des gesamten Zeitraumes gültig waren.
|
VALID_IN_PERIOD |
Für Objekte, die an mindestens einem Zeitpunkt des angegebenen Zeitbereichs gültig waren.
|
Modifier and Type | Method | Description |
---|---|---|
short |
getCode() |
Eindeutige Id des Zustands.
|
static TimeSpecificationType |
getInstance(short code) |
|
static TimeSpecificationType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeSpecificationType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSpecificationType VALID
public static final TimeSpecificationType VALID_AT_TIME
public static final TimeSpecificationType VALID_IN_PERIOD
public static final TimeSpecificationType VALID_DURING_PERIOD
public static TimeSpecificationType[] values()
for (TimeSpecificationType c : TimeSpecificationType.values()) System.out.println(c);
public static TimeSpecificationType 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 final TimeSpecificationType getInstance(short code)
public short getCode()