public static enum ChargedItemMapping.ReportingScope extends java.lang.Enum<ChargedItemMapping.ReportingScope>
| Enum Constant and Description |
|---|
chargedItem
A reporting condition fulfilled for a charged item triggers the reporting of the related charged item only.
|
session
A reporting condition fulfilled for a charged item triggers the reporting of all the charged items of the session.
|
| Modifier and Type | Field and Description |
|---|---|
int |
code
The code of the reporting scope.
|
| Modifier and Type | Method and Description |
|---|---|
static ChargedItemMapping.ReportingScope |
getByCode(int code)
Gets a reporting scope by its code.
|
static ChargedItemMapping.ReportingScope |
getByName(java.lang.String name)
Gets a reporting scope by its name.
|
static ChargedItemMapping.ReportingScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChargedItemMapping.ReportingScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChargedItemMapping.ReportingScope chargedItem
public static final ChargedItemMapping.ReportingScope session
public static ChargedItemMapping.ReportingScope[] values()
for (ChargedItemMapping.ReportingScope c : ChargedItemMapping.ReportingScope.values()) System.out.println(c);
public static ChargedItemMapping.ReportingScope 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 static final ChargedItemMapping.ReportingScope getByName(java.lang.String name)
name - the name of the reporting scope to getnull if no such reporting scope exists.public static final ChargedItemMapping.ReportingScope getByCode(int code)
code - the code of the reporting scope to getnull if no such reporting scope exists.