Class PdpContextType
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.vb80.PdpContextType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class PdpContextType extends Object implements Serializable, Enumerated
Java class to represent the PdpContextType enumerated type. Documentation from the relevant specification: The PDP-Context-Type AVP (AVP code 1247) is of type Enumerated and indicates the type of a PDP context. This AVP shall only be present in the CCR Initial.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_PRIMARY
static int
_SECONDARY
static PdpContextType
PRIMARY
static PdpContextType
SECONDARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdpContextType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_PRIMARY
public static final int _PRIMARY
- See Also:
- Constant Field Values
-
_SECONDARY
public static final int _SECONDARY
- See Also:
- Constant Field Values
-
PRIMARY
public static final PdpContextType PRIMARY
-
SECONDARY
public static final PdpContextType SECONDARY
-
-
Method Detail
-
fromInt
public static PdpContextType 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
-
-