com.wombat.mama
public class MamaSubscriptionState extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_ACTIVATED |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_ACTIVATING |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_ALLOCATED |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DEACTIVATED |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DEACTIVATING |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DEALLOCATED |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DEALLOCATING |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DESTROYED |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_DESTROYING |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_REACTIVATING |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_SETUP |
static MamaSubscriptionState |
MAMA_SUBSCRIPTION_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static MamaSubscriptionState |
getSubscriptionState(int state)
This function converts the integer state value to a corresponding
MamaSubscriptionState object.
|
int |
getValue()
Returns the integer representation of the subscription state.
|
static MamaSubscriptionState |
parseSubscriptionState(java.lang.String state)
This function will return the subscription state corresponding to
the supplied string.
|
java.lang.String |
toString()
This function returns the string representation of the member state.
|
static java.lang.String |
toString(int state)
This function returns the string representation of the state.
|
static java.lang.String |
toString(MamaSubscriptionState state)
This function returns the string representation of the state.
|
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_UNKNOWN
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_ALLOCATED
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_SETUP
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_ACTIVATING
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_ACTIVATED
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DEACTIVATING
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DEACTIVATED
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DESTROYING
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DESTROYED
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DEALLOCATING
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_DEALLOCATED
public static final MamaSubscriptionState MAMA_SUBSCRIPTION_REACTIVATING
public int getValue()
public static MamaSubscriptionState getSubscriptionState(int state)
state
- The state.public static MamaSubscriptionState parseSubscriptionState(java.lang.String state)
state
- public static java.lang.String toString(int state)
state
- The state.public static java.lang.String toString(MamaSubscriptionState state)
state
- The state.public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2011 NYSE Technologies