Class NniType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vb80.NniType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class NniType extends Object implements Serializable, Enumerated
Java class to represent the NniType enumerated type. Documentation from the relevant specification: The NNI-Type AVP (AVP code 2704) is of type Enumerated and indicates whether the type of used NNI is non-roaming, roaming without loopback routing or roaming with loopback routing.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_NON_ROAMING
static int
_ROAMING_WITH_LOOPBACK
static int
_ROAMING_WITHOUT_LOOPBACK
static NniType
NON_ROAMING
static NniType
ROAMING_WITH_LOOPBACK
static NniType
ROAMING_WITHOUT_LOOPBACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NniType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_NON_ROAMING
public static final int _NON_ROAMING
- See Also:
- Constant Field Values
-
_ROAMING_WITHOUT_LOOPBACK
public static final int _ROAMING_WITHOUT_LOOPBACK
- See Also:
- Constant Field Values
-
_ROAMING_WITH_LOOPBACK
public static final int _ROAMING_WITH_LOOPBACK
- See Also:
- Constant Field Values
-
NON_ROAMING
public static final NniType NON_ROAMING
-
ROAMING_WITHOUT_LOOPBACK
public static final NniType ROAMING_WITHOUT_LOOPBACK
-
ROAMING_WITH_LOOPBACK
public static final NniType ROAMING_WITH_LOOPBACK
-
-
Method Detail
-
fromInt
public static NniType 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
-
-