public enum PresenceActivity extends java.lang.Enum<PresenceActivity>
Java class for presenceActivity.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="presenceActivity">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="None"/>
<enumeration value="AVAILABLE"/>
<enumeration value="ON_THE_PHONE"/>
<enumeration value="MEAL"/>
<enumeration value="AWAY"/>
<enumeration value="HOLIDAY"/>
<enumeration value="PERM_ABSENCE"/>
<enumeration value="DO_NOT_DISTURB"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AVAILABLE |
AWAY |
DO_NOT_DISTURB |
HOLIDAY |
MEAL |
NONE |
ON_THE_PHONE |
PERM_ABSENCE |
| Modifier and Type | Method and Description |
|---|---|
static PresenceActivity |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static PresenceActivity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresenceActivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceActivity NONE
public static final PresenceActivity AVAILABLE
public static final PresenceActivity ON_THE_PHONE
public static final PresenceActivity MEAL
public static final PresenceActivity AWAY
public static final PresenceActivity HOLIDAY
public static final PresenceActivity PERM_ABSENCE
public static final PresenceActivity DO_NOT_DISTURB
public static PresenceActivity[] values()
for (PresenceActivity c : PresenceActivity.values()) System.out.println(c);
public static PresenceActivity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
public static PresenceActivity fromValue(java.lang.String v)
Copyright © 2010 All Rights Reserved.