public static enum Contact.CONTACT_FIELD extends Enum<Contact.CONTACT_FIELD>
Enum Constant and Description |
---|
email |
mailboxId |
name |
service |
surname |
Modifier and Type | Method and Description |
---|---|
static Contact.CONTACT_FIELD |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Contact.CONTACT_FIELD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Contact.CONTACT_FIELD name
public static final Contact.CONTACT_FIELD email
public static final Contact.CONTACT_FIELD surname
public static final Contact.CONTACT_FIELD service
public static final Contact.CONTACT_FIELD mailboxId
public static Contact.CONTACT_FIELD[] values()
for (Contact.CONTACT_FIELD c : Contact.CONTACT_FIELD.values()) System.out.println(c);
public static Contact.CONTACT_FIELD valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2011 Nuxeo SA. All Rights Reserved.