public static enum SQLConnectionAdminOp.DatabaseScope extends java.lang.Enum<SQLConnectionAdminOp.DatabaseScope>
enumeration lists the possible back-end database of SAP CC: Core Database, Session Database.| Enum Constant and Description |
|---|
CORE
Enumeration value for the Core Database of SAP Convergent Charging.
|
SESSION
Enumeration value for the Session Database.
|
| Modifier and Type | Method and Description |
|---|---|
static SQLConnectionAdminOp.DatabaseScope |
getDatabaseScopeFromId(byte databaseScopeId)
Returns the DatabaScope regarding the ID.
|
static SQLConnectionAdminOp.DatabaseScope |
getDatabaseScopeFromPrettyName(java.lang.String prettyName)
Returns the DatabaScope regarding the pretty name.
|
byte |
getId()
Gets the database scope ID.
|
java.lang.String |
getPrettyName()
Gets the database scope name.
|
static SQLConnectionAdminOp.DatabaseScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SQLConnectionAdminOp.DatabaseScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLConnectionAdminOp.DatabaseScope CORE
public static final SQLConnectionAdminOp.DatabaseScope SESSION
public static SQLConnectionAdminOp.DatabaseScope[] values()
for (SQLConnectionAdminOp.DatabaseScope c : SQLConnectionAdminOp.DatabaseScope.values()) System.out.println(c);
public static SQLConnectionAdminOp.DatabaseScope 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 namejava.lang.NullPointerException - if the argument is nullpublic byte getId()
public java.lang.String getPrettyName()
public static final SQLConnectionAdminOp.DatabaseScope getDatabaseScopeFromPrettyName(java.lang.String prettyName)
prettyName - The pretty namenull when the pretty name does not
corresponding to a database scope.public static final SQLConnectionAdminOp.DatabaseScope getDatabaseScopeFromId(byte databaseScopeId)
databaseScopeId - The ID of the DatabaseScopenull when the id does not corresponding to a
database scope.