Class ReasonCode
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.v960.ReasonCode
-
- All Implemented Interfaces:
Serializable,Enumerated
public class ReasonCode extends Object implements Serializable, Enumerated
Java class to represent the ReasonCode enumerated type. Documentation from the relevant specification: The Reason-Code AVP (AVP code 2316) is of type Enumerated and identifies if the Rate-Element corresponds to a specific charge type. It can be one of the following values:- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_ADD_ON_CHARGEstatic int_COMMUNICATION_ATTEMPT_CHARGEstatic int_SETUP_CHARGEstatic int_UNKNOWNstatic int_USAGEstatic ReasonCodeADD_ON_CHARGEstatic ReasonCodeCOMMUNICATION_ATTEMPT_CHARGEstatic ReasonCodeSETUP_CHARGEstatic ReasonCodeUNKNOWNstatic ReasonCodeUSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReasonCodefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
Field Detail
-
_UNKNOWN
public static final int _UNKNOWN
- See Also:
- Constant Field Values
-
_USAGE
public static final int _USAGE
- See Also:
- Constant Field Values
-
_COMMUNICATION_ATTEMPT_CHARGE
public static final int _COMMUNICATION_ATTEMPT_CHARGE
- See Also:
- Constant Field Values
-
_SETUP_CHARGE
public static final int _SETUP_CHARGE
- See Also:
- Constant Field Values
-
_ADD_ON_CHARGE
public static final int _ADD_ON_CHARGE
- See Also:
- Constant Field Values
-
UNKNOWN
public static final ReasonCode UNKNOWN
-
USAGE
public static final ReasonCode USAGE
-
COMMUNICATION_ATTEMPT_CHARGE
public static final ReasonCode COMMUNICATION_ATTEMPT_CHARGE
-
SETUP_CHARGE
public static final ReasonCode SETUP_CHARGE
-
ADD_ON_CHARGE
public static final ReasonCode ADD_ON_CHARGE
-
-
Method Detail
-
fromInt
public static ReasonCode fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-