Enum Class Date.Event

java.lang.Object
java.lang.Enum<Date.Event>
nl.siegmann.epublib.domain.Date.Event
All Implemented Interfaces:
Serializable, Comparable<Date.Event>, Constable
Enclosing class:
Date

public static enum Date.Event extends Enum<Date.Event>
  • Enum Constant Details

    • PUBLICATION

      public static final Date.Event PUBLICATION
    • MODIFICATION

      public static final Date.Event MODIFICATION
    • CREATION

      public static final Date.Event CREATION
  • Field Details

    • value

      private final String value
  • Constructor Details

    • Event

      private Event(String v)
  • Method Details

    • values

      public static Date.Event[] 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 Date.Event 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
    • fromValue

      public static Date.Event fromValue(String v)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Date.Event>