Class BearerUsage
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.va10.BearerUsage
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class BearerUsage extends Object implements Serializable, Enumerated
Java class to represent the BearerUsage enumerated type. Documentation from the relevant specification: The Bearer-Usage AVP (AVP code 1000) is of type Enumerated, and it shall indicate how the bearer is being used. If the Bearer-Usage AVP has not been previously provided, its absence shall indicate that no specific information is available. If the Bearer-Usage AVP has been provided, its value shall remain valid until it is provided the next time.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_GENERAL
static int
_IMS_SIGNALLING
static BearerUsage
GENERAL
static BearerUsage
IMS_SIGNALLING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BearerUsage
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_GENERAL
public static final int _GENERAL
- See Also:
- Constant Field Values
-
_IMS_SIGNALLING
public static final int _IMS_SIGNALLING
- See Also:
- Constant Field Values
-
GENERAL
public static final BearerUsage GENERAL
-
IMS_SIGNALLING
public static final BearerUsage IMS_SIGNALLING
-
-
Method Detail
-
fromInt
public static BearerUsage 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
-
-