Package org.silverpeas.core.calendar
Enum Attendee.PresenceStatus
- java.lang.Object
-
- java.lang.Enum<Attendee.PresenceStatus>
-
- org.silverpeas.core.calendar.Attendee.PresenceStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<Attendee.PresenceStatus>
- Enclosing class:
- Attendee
public static enum Attendee.PresenceStatus extends Enum<Attendee.PresenceStatus>
Predefined presence status of an attendee in his participation in a calendar event.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INFORMATIVE
The attendee is just referred for information purpose only.OPTIONAL
The participation of the attendee is optional.REQUIRED
The participation of the attendee is required.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInformative()
boolean
isOptional()
boolean
isRequired()
static Attendee.PresenceStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static Attendee.PresenceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final Attendee.PresenceStatus REQUIRED
The participation of the attendee is required.
-
OPTIONAL
public static final Attendee.PresenceStatus OPTIONAL
The participation of the attendee is optional.
-
INFORMATIVE
public static final Attendee.PresenceStatus INFORMATIVE
The attendee is just referred for information purpose only. He has not to be available.
-
-
Method Detail
-
values
public static Attendee.PresenceStatus[] 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.PresenceStatus c : Attendee.PresenceStatus.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.PresenceStatus 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
-
isRequired
public boolean isRequired()
-
isOptional
public boolean isOptional()
-
isInformative
public boolean isInformative()
-
-