org.opencrx.application.airsync.datatypes
Enum FolderType
java.lang.Object
java.lang.Enum<FolderType>
org.opencrx.application.airsync.datatypes.FolderType
- All Implemented Interfaces:
- Serializable, Comparable<FolderType>
public enum FolderType
- extends Enum<FolderType>
USER_FOLDER_GENERIC
public static final FolderType USER_FOLDER_GENERIC
DEFAULT_INBOX_FOLDER
public static final FolderType DEFAULT_INBOX_FOLDER
DEFAULT_DRAFTS_FOLDERS
public static final FolderType DEFAULT_DRAFTS_FOLDERS
DEFAULT_DELETED_ITEMS_FOLDERS
public static final FolderType DEFAULT_DELETED_ITEMS_FOLDERS
DEFAULT_SENT_EMAIL_FOLDER
public static final FolderType DEFAULT_SENT_EMAIL_FOLDER
DEFAULT_OUTBOX_FOLDER
public static final FolderType DEFAULT_OUTBOX_FOLDER
DEFAULT_TASKS_FOLDER
public static final FolderType DEFAULT_TASKS_FOLDER
DEFAULT_CALENDAR_FOLDER
public static final FolderType DEFAULT_CALENDAR_FOLDER
DEFAULT_CONTACTS_FOLDER
public static final FolderType DEFAULT_CONTACTS_FOLDER
DEFAULT_NOTES_FOLDER
public static final FolderType DEFAULT_NOTES_FOLDER
DEFAULT_JOURNAL_FOLDER
public static final FolderType DEFAULT_JOURNAL_FOLDER
USER_CREATED_EMAIL_FOLDER
public static final FolderType USER_CREATED_EMAIL_FOLDER
USER_CREATED_CALENDAR_FOLDER
public static final FolderType USER_CREATED_CALENDAR_FOLDER
USER_CREATED_CONTACTS_FOLDER
public static final FolderType USER_CREATED_CONTACTS_FOLDER
USER_CREATED_TASKS_FOLDER
public static final FolderType USER_CREATED_TASKS_FOLDER
USER_CREATED_JOURNAL_FOLDER
public static final FolderType USER_CREATED_JOURNAL_FOLDER
USER_CREATED_NOTES_FOLDER
public static final FolderType USER_CREATED_NOTES_FOLDER
UNKNOWN_FOLDER_TYPE
public static final FolderType UNKNOWN_FOLDER_TYPE
values
public static FolderType[] 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 (FolderType c : FolderType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FolderType 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
getValue
public int getValue()
toFolderType
public static FolderType toFolderType(int value)
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.