Package org.silverpeas.core.calendar
Enum Attendee.ParticipationStatus
- java.lang.Object
-
- java.lang.Enum<Attendee.ParticipationStatus>
-
- org.silverpeas.core.calendar.Attendee.ParticipationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Attendee.ParticipationStatus>
- Enclosing class:
- Attendee
public static enum Attendee.ParticipationStatus extends Enum<Attendee.ParticipationStatus>
Predefined participation status of an attendee.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTED
The attendee has accepted to attend the calendar event.AWAITING
In awaiting of the answer of the attendee for the calendar event.DECLINED
The attendee has declined to attend the calendar event.DELEGATED
The attendee has delegated its attendance to another attendee.TENTATIVE
The attendee is tentatively accepted to attend the calendar event.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAccepted()
boolean
isAwaiting()
boolean
isDeclined()
boolean
isDelegated()
boolean
isTentative()
static Attendee.ParticipationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Attendee.ParticipationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWAITING
public static final Attendee.ParticipationStatus AWAITING
In awaiting of the answer of the attendee for the calendar event.
-
ACCEPTED
public static final Attendee.ParticipationStatus ACCEPTED
The attendee has accepted to attend the calendar event.
-
DECLINED
public static final Attendee.ParticipationStatus DECLINED
The attendee has declined to attend the calendar event.
-
TENTATIVE
public static final Attendee.ParticipationStatus TENTATIVE
The attendee is tentatively accepted to attend the calendar event.
-
DELEGATED
public static final Attendee.ParticipationStatus DELEGATED
The attendee has delegated its attendance to another attendee.
-
-
Method Detail
-
values
public static Attendee.ParticipationStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Attendee.ParticipationStatus c : Attendee.ParticipationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attendee.ParticipationStatus 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 nameNullPointerException
- if the argument is null
-
isAwaiting
public boolean isAwaiting()
-
isAccepted
public boolean isAccepted()
-
isDeclined
public boolean isDeclined()
-
isTentative
public boolean isTentative()
-
isDelegated
public boolean isDelegated()
-
-