|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TimeSpecificationType>
de.bsvrz.dav.daf.main.config.TimeSpecificationType
public enum TimeSpecificationType
Dieses Enum listet alle möglichen Gültigkeitszeitraum-Typen auf. Er gibt die Art und Weise an, wie der Gültigkeitszeitraum zu betrachten ist.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
short |
getCode()
Eindeutige Id des Zustands. |
static TimeSpecificationType |
getInstance(short code)
|
static TimeSpecificationType |
valueOf(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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static final TimeSpecificationType[] values()
for(TimeSpecificationType c : TimeSpecificationType.values()) System.out.println(c);
public static TimeSpecificationType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static final TimeSpecificationType getInstance(short code)
public short getCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |