Class PdpContextType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.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_PRIMARYstatic int_SECONDARYstatic PdpContextTypePRIMARYstatic PdpContextTypeSECONDARY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdpContextTypefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-