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_DURATIONstatic int_DURATION_VOLUMEstatic int_VOLUMEstatic MeteringMethodDURATIONstatic MeteringMethodDURATION_VOLUMEstatic MeteringMethodVOLUME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MeteringMethodfromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-