com.highdeal.pnr.hci
Enum ReratingStatus

java.lang.Object
  extended by java.lang.Enum<ReratingStatus>
      extended by com.highdeal.pnr.hci.ReratingStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReratingStatus>

public enum ReratingStatus
extends java.lang.Enum<ReratingStatus>

This enumeration lists the rerating statuses.


Enum Constant Summary
ALREADY_LOCKED_FAILURE
          This status is used to indicate that rerating process has failed for the last rerating operation because subscription was locked by a concurrent rating process or another previous rerating operation.
BART_RESTORATION_FAILURE
          Deprecated. 
BILLING_FAILURE
          This status is used to indicate that rerating process has failed due to a billing issue.
COUNTER_RESTORATION_FAILURE
          This status is used to indicate that subscription counter restoration process has failed for the last rerating operation.
EXPORT_AND_UNLOCK_FAILURE
          Deprecated. 
EXPORT_FAILURE
          Deprecated. 
NOT_LOCKED_FAILURE
          This status is used to indicate that rerating process has failed for the last rerating operation because subscription was not locked but should be.
PREPAID_ACCOUNT_FAILURE
          This status is used to indicate that rerating process has failed due to a contract with a prepaid account.
RERATING_SUCCESS
          This status is used to indicate that rerating process was successful for the last rerating operation.
RESTORATION_SUCCESS
          This status is used to indicate that restoration process was successful for the last rerating operation.
SELECTION_SUCCESS
          This status is used to indicate that restoration process was successful for the last rerating operation.
UNLOCK_FAILURE
          This status is used to indicate that rerating process has failed due to a subscription unlock issue.
UNSET
          This is the unset status (means no status).
 
Method Summary
static ReratingStatus getReratingStatus(int id)
           
static ReratingStatus getReratingStatus(java.lang.String name)
           
 int getStatusId()
           
 java.lang.String getStatusName()
           
static ReratingStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ReratingStatus[] 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

UNSET

public static final ReratingStatus UNSET
This is the unset status (means no status).


ALREADY_LOCKED_FAILURE

public static final ReratingStatus ALREADY_LOCKED_FAILURE
This status is used to indicate that rerating process has failed for the last rerating operation because subscription was locked by a concurrent rating process or another previous rerating operation.


NOT_LOCKED_FAILURE

public static final ReratingStatus NOT_LOCKED_FAILURE
This status is used to indicate that rerating process has failed for the last rerating operation because subscription was not locked but should be.


COUNTER_RESTORATION_FAILURE

public static final ReratingStatus COUNTER_RESTORATION_FAILURE
This status is used to indicate that subscription counter restoration process has failed for the last rerating operation.


BILLING_FAILURE

public static final ReratingStatus BILLING_FAILURE
This status is used to indicate that rerating process has failed due to a billing issue.


BART_RESTORATION_FAILURE

@Deprecated
public static final ReratingStatus BART_RESTORATION_FAILURE
Deprecated. 
This status is used to indicate that restoration process has failed for the last rerating operation because BART has denied rerating for this operation.


EXPORT_FAILURE

@Deprecated
public static final ReratingStatus EXPORT_FAILURE
Deprecated. 
This status is used to indicate that rerating process has failed due to a subscription exportation issue.


UNLOCK_FAILURE

public static final ReratingStatus UNLOCK_FAILURE
This status is used to indicate that rerating process has failed due to a subscription unlock issue.


EXPORT_AND_UNLOCK_FAILURE

@Deprecated
public static final ReratingStatus EXPORT_AND_UNLOCK_FAILURE
Deprecated. 
This status is used to indicate that rerating process has failed due to a subscription exportation and a subscription unlock issue.


PREPAID_ACCOUNT_FAILURE

public static final ReratingStatus PREPAID_ACCOUNT_FAILURE
This status is used to indicate that rerating process has failed due to a contract with a prepaid account.


SELECTION_SUCCESS

public static final ReratingStatus SELECTION_SUCCESS
This status is used to indicate that restoration process was successful for the last rerating operation.


RESTORATION_SUCCESS

public static final ReratingStatus RESTORATION_SUCCESS
This status is used to indicate that restoration process was successful for the last rerating operation.


RERATING_SUCCESS

public static final ReratingStatus RERATING_SUCCESS
This status is used to indicate that rerating process was successful for the last rerating operation.

Method Detail

values

public static ReratingStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReratingStatus c : ReratingStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReratingStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getStatusName

public java.lang.String getStatusName()

getStatusId

public int getStatusId()

getReratingStatus

public static final ReratingStatus getReratingStatus(java.lang.String name)

getReratingStatus

public static final ReratingStatus getReratingStatus(int id)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)