Package org.projecthusky.common.enums
Enum Class DateTimeRangeAttributes
- All Implemented Interfaces:
Serializable
,Comparable<DateTimeRangeAttributes>
,Constable
Represents the XDS metadata attributes, which are related to DateTimeRanges
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTime, when the author created the documentStart time of the service, which led to the documentEnd time of the service, which led to the document -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the XDS attribute name of the Enumstatic DateTimeRangeAttributes
Returns the enum constant of this class with the specified name.static DateTimeRangeAttributes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATION_TIME
Time, when the author created the document -
SERVICE_START_TIME
Start time of the service, which led to the document -
SERVICE_STOP_TIME
End time of the service, which led to the document
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getName
Gets the XDS attribute name of the Enum- Returns:
- the name of the attribute
-