|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AccountState>
com.highdeal.pnr.hci.AccountState
public enum AccountState
This enumeration lists the account states; They must be one among the four next, given in ascending order, from initial state to terminal state.
| Enum Constant Summary | |
|---|---|
ACTIVE
|
|
BLOCKED
|
|
CLOSED
|
|
LOCKED
|
|
| Method Summary | |
|---|---|
static AccountState |
getFromIndex(short index)
Gets one state of this enum, or null, from a prettyName. |
short |
getIndex()
Gets the state index. |
java.lang.String |
getPrettyName()
Gets the state pretty name. |
static AccountState |
parse(java.lang.String prettyName)
Gets one state of this enum, or null, from a prettyName. |
static AccountState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AccountState[] |
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, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AccountState ACTIVE
public static final AccountState BLOCKED
public static final AccountState LOCKED
public static final AccountState CLOSED
| Method Detail |
|---|
public static AccountState[] values()
for (AccountState c : AccountState.values()) System.out.println(c);
public static AccountState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getPrettyName()
public short getIndex()
public static final AccountState parse(java.lang.String prettyName)
prettyName - The prettyName of the expected state
public static final AccountState getFromIndex(short index)
index - The index of the expected state
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||