Class Offline
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.va10.Offline
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Offline extends Object implements Serializable, Enumerated
Java class to represent the Offline enumerated type. Documentation from the relevant specification: The Offline AVP (AVP code 1008) is of type Enumerated. If the Offline AVP is embedded within a Charging-Rule-Definition AVP it defines whether the offline 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 offline shall be used. If the Offline AVP is embedded within the initial CCR on command level, it indicates the default charging method for offline pre-configured at the PCEF is applicable as default charging method for offline. The absence of this AVP within the initial CCR indicates that the charging method for offline pre-configured at the PCEF is not available. If the Offline AVP is embedded within the initial CCA on command level, it indicates the default charging method for offline. The absence of this AVP within the initial CCA indicates that the charging method for offline pre-configured at the PCEF is applicable as default charging method for offline. 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_OFFLINE
static int
_ENABLE_OFFLINE
static Offline
DISABLE_OFFLINE
static Offline
ENABLE_OFFLINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Offline
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_DISABLE_OFFLINE
public static final int _DISABLE_OFFLINE
- See Also:
- Constant Field Values
-
_ENABLE_OFFLINE
public static final int _ENABLE_OFFLINE
- See Also:
- Constant Field Values
-
DISABLE_OFFLINE
public static final Offline DISABLE_OFFLINE
-
ENABLE_OFFLINE
public static final Offline ENABLE_OFFLINE
-
-
Method Detail
-
fromInt
public static Offline 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
-
-