Class MeteringMethod
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.vb90.MeteringMethod
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class MeteringMethod extends Object implements Serializable, Enumerated
Java class to represent the MeteringMethod enumerated type. Documentation from the relevant specification: The Metering-Method AVP (AVP code 1007) is of type Enumerated, and it defines what parameters shall be metered for offline charging. The PCEF may use the AVP for online charging in case of decentralized unit determination, refer to 3GPP TS 32.299- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_DURATION
static int
_DURATION_VOLUME
static int
_VOLUME
static MeteringMethod
DURATION
static MeteringMethod
DURATION_VOLUME
static MeteringMethod
VOLUME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeteringMethod
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_DURATION
public static final int _DURATION
- See Also:
- Constant Field Values
-
_VOLUME
public static final int _VOLUME
- See Also:
- Constant Field Values
-
_DURATION_VOLUME
public static final int _DURATION_VOLUME
- See Also:
- Constant Field Values
-
DURATION
public static final MeteringMethod DURATION
-
VOLUME
public static final MeteringMethod VOLUME
-
DURATION_VOLUME
public static final MeteringMethod DURATION_VOLUME
-
-
Method Detail
-
fromInt
public static MeteringMethod 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
-
-