Class Online
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.vb90.Online
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Online extends Object implements Serializable, Enumerated
Java class to represent the Online enumerated type. Documentation from the relevant specification: The Online AVP (AVP code 1009) is of type Enumerated. If the Online AVP is embedded within a Charging-Rule-Definition AVP, it defines whether the online charging interface from the PCEF for the associated PCC rule shall be enabled. The absence of this AVP within the first provisioning of the Charging-Rule-Definition AVP of a new PCC rule indicates that the default charging method for online shall be used. If the Online AVP is embedded within the initial CCR on command level, it indicates the default charging method for online pre-configured at the PCEF is applicable as default charging method for online. The absence of this AVP within the initial CCR indicates that the charging method for online pre-configured at the PCEF is not available. If the Online AVP is embedded within the initial CCA on command level, it indicates the default charging method for online. The absence of this AVP within the initial CCA indicates that the charging method for online pre-configured at the PCEF is applicable as default charging method for online. The default charging method provided by the PCRF shall take precedence over any pre-configured default charging method at the PCEF- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_DISABLE_ONLINE
static int
_ENABLE_ONLINE
static Online
DISABLE_ONLINE
static Online
ENABLE_ONLINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Online
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_DISABLE_ONLINE
public static final int _DISABLE_ONLINE
- See Also:
- Constant Field Values
-
_ENABLE_ONLINE
public static final int _ENABLE_ONLINE
- See Also:
- Constant Field Values
-
DISABLE_ONLINE
public static final Online DISABLE_ONLINE
-
ENABLE_ONLINE
public static final Online ENABLE_ONLINE
-
-
Method Detail
-
fromInt
public static Online fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-