Enum Class DateTimeRangeAttributes

java.lang.Object
java.lang.Enum<DateTimeRangeAttributes>
org.projecthusky.common.enums.DateTimeRangeAttributes
All Implemented Interfaces:
Serializable, Comparable<DateTimeRangeAttributes>, Constable

public enum DateTimeRangeAttributes extends Enum<DateTimeRangeAttributes>
Represents the XDS metadata attributes, which are related to DateTimeRanges
  • Enum Constant Details

    • CREATION_TIME

      public static final DateTimeRangeAttributes CREATION_TIME
      Time, when the author created the document
    • SERVICE_START_TIME

      public static final DateTimeRangeAttributes SERVICE_START_TIME
      Start time of the service, which led to the document
    • SERVICE_STOP_TIME

      public static final DateTimeRangeAttributes SERVICE_STOP_TIME
      End time of the service, which led to the document
  • Method Details

    • values

      public static DateTimeRangeAttributes[] 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

      public static DateTimeRangeAttributes valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getName

      public String getName()
      Gets the XDS attribute name of the Enum
      Returns:
      the name of the attribute