|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SubQueryRequestStatus>
net.rim.pushsdk.query.subscription.SubQueryRequestStatus
public enum SubQueryRequestStatus
Represents the status used in a subscription query by status request to the PPG.
| Enum Constant Summary | |
|---|---|
ACTIVE
An active status. |
|
SUSPENDED
A suspended status. |
|
| Method Summary | |
|---|---|
String |
getSubQueryRequestStatus()
Gets the value of the status (lower cased). |
static SubQueryRequestStatus |
getSubQueryRequestStatus(String status)
Gets the status associated with the given string. |
String |
toString()
Calls getSubQueryRequestStatus(). |
static SubQueryRequestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SubQueryRequestStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SubQueryRequestStatus ACTIVE
public static final SubQueryRequestStatus SUSPENDED
| Method Detail |
|---|
public static SubQueryRequestStatus[] values()
for (SubQueryRequestStatus c : SubQueryRequestStatus.values()) System.out.println(c);
public static SubQueryRequestStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getSubQueryRequestStatus()
public static SubQueryRequestStatus getSubQueryRequestStatus(String status)
status - the status as a string (case insensitive)
IllegalArgumentException - if the status string passed in was invalidpublic String toString()
getSubQueryRequestStatus().
toString in class Enum<SubQueryRequestStatus>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||