Enum ECDB.CalendarStatus

java.lang.Object
java.lang.Enum<ECDB.CalendarStatus>
org.bzdev.ecdb.ECDB.CalendarStatus
All Implemented Interfaces:
Serializable, Comparable<ECDB.CalendarStatus>
Enclosing class:
ECDB

public static enum ECDB.CalendarStatus extends Enum<ECDB.CalendarStatus>
Calendar status. Provided as a type-safe alternative to string values in the database. The values match those provided in RFC 5545.
  • Enum Constant Details

    • TENTATIVE

      public static final ECDB.CalendarStatus TENTATIVE
      An appointment status is 'tentative'.
    • CONFIRMED

      public static final ECDB.CalendarStatus CONFIRMED
      An appointment status is 'confirmed'.
    • CANCELLED

      public static final ECDB.CalendarStatus CANCELLED
      An appointment status is 'cancelled'.
  • Method Details

    • values

      public static ECDB.CalendarStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ECDB.CalendarStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null