Package com.highdeal.bart.hci
Enum Class RatingSessionModel.Mode
- All Implemented Interfaces:
Serializable,Comparable<RatingSessionModel.Mode>,Constable
- Enclosing class:
- RatingSessionModel
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Selection by day and rate all: In this mode, CDRs selected and rated by day.Selection by day and stop on first fail: In this mode, CDRs selected and rated by day.Selection by subscription and stop on first fail: In this mode, CDRs are rated group by subscription.Selection by subscription and rate all: In this mode, CDRs are rated group by subscription.Selection by subscription and no commit: In this mode, CDR are rated but no CDR are commited on both side (SAP Convergent Charging BART and Core).Windowed selection and stop on first fail: Same asSUBSCRIPTION_FIRSTFAIL, but CDR are selected from the database using windowing.Windowed selection and rate all: Same asSUBSCRIPTION_MOST, but CDR are selected from the database using windowing.Windowed selection and no commit: Same asSUBSCRIPTION_TRY, but CDR are selected from the database using windowing. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()static RatingSessionModel.ModegetFromCode(int code) getName()static RatingSessionModel.Modestatic RatingSessionModel.ModeReturns the enum constant of this class with the specified name.static RatingSessionModel.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUBSCRIPTION_FIRSTFAIL
Selection by subscription and stop on first fail: In this mode, CDRs are rated group by subscription. Each rating group is stopped on the first rating errors. -
SUBSCRIPTION_MOST
Selection by subscription and rate all: In this mode, CDRs are rated group by subscription. The rating is never stopped even if there is rating errors. -
SUBSCRIPTION_TRY
Selection by subscription and no commit: In this mode, CDR are rated but no CDR are commited on both side (SAP Convergent Charging BART and Core). -
WINDOWED_SUBSCRIPTION_FIRSTFAIL
Windowed selection and stop on first fail: Same asSUBSCRIPTION_FIRSTFAIL, but CDR are selected from the database using windowing. The rating on the windowed subscriptions is stopped on the first rating errors. -
WINDOWED_SUBSCRIPTION_MOST
Windowed selection and rate all: Same asSUBSCRIPTION_MOST, but CDR are selected from the database using windowing. The rating is never stopped even if there is rating errors. -
WINDOWED_SUBSCRIPTION_TRY
Windowed selection and no commit: Same asSUBSCRIPTION_TRY, but CDR are selected from the database using windowing. In this mode, CDR are rated but no CDR are commited on both side (SAP Convergent Charging BART and Core). -
DAY_SUBSCRIPTION_FIRSTFAIL
Selection by day and stop on first fail: In this mode, CDRs selected and rated by day. The rating on the subscription is stopped on the first rating errors. -
DAY_MOST
Selection by day and rate all: In this mode, CDRs selected and rated by day. The rating is never stopped even if there is rating errors. -
AZIMUT
Deprecated.In this mode, CDRs are selected through their Id (almost random). This mode should be used only for test purpose.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode() -
getName
-
parse
-
getFromCode
-
getSelectionMode
-
getRatingMode
-