Enum Consts.ApiDocumentOrder
- java.lang.Object
-
- java.lang.Enum<Consts.ApiDocumentOrder>
-
- com.blackberry.workspaces.sdk.api.Consts.ApiDocumentOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<Consts.ApiDocumentOrder>
- Enclosing class:
- Consts
public static enum Consts.ApiDocumentOrder extends Enum<Consts.ApiDocumentOrder>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_NAME
LAST_UPDATED
NAME
RECENTLY_VIEWED
SENDER
SIZE
TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Consts.ApiDocumentOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static Consts.ApiDocumentOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final Consts.ApiDocumentOrder NAME
-
SENDER
public static final Consts.ApiDocumentOrder SENDER
-
FILE_NAME
public static final Consts.ApiDocumentOrder FILE_NAME
-
LAST_UPDATED
public static final Consts.ApiDocumentOrder LAST_UPDATED
-
RECENTLY_VIEWED
public static final Consts.ApiDocumentOrder RECENTLY_VIEWED
-
SIZE
public static final Consts.ApiDocumentOrder SIZE
-
TYPE
public static final Consts.ApiDocumentOrder TYPE
-
-
Method Detail
-
values
public static Consts.ApiDocumentOrder[] 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 (Consts.ApiDocumentOrder c : Consts.ApiDocumentOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Consts.ApiDocumentOrder 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
-
-