Class InterfaceType
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.v8d0.InterfaceType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class InterfaceType extends Object implements Serializable, Enumerated
Java class to represent the InterfaceType enumerated type. Documentation from the relevant specification: The Interface-Type AVP (AVP code 2006) is of type Enumerated and contains information about type of interface / nature of the transaction in the messaging node for which the charging event occurs.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_APPLICATION_ORIGINATING
static int
_APPLICATION_TERMINATION
static int
_MOBILE_ORIGINATING
static int
_MOBILE_TERMINATING
static int
_UNKNOWN
static InterfaceType
APPLICATION_ORIGINATING
static InterfaceType
APPLICATION_TERMINATION
static InterfaceType
MOBILE_ORIGINATING
static InterfaceType
MOBILE_TERMINATING
static InterfaceType
UNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterfaceType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_UNKNOWN
public static final int _UNKNOWN
- See Also:
- Constant Field Values
-
_MOBILE_ORIGINATING
public static final int _MOBILE_ORIGINATING
- See Also:
- Constant Field Values
-
_MOBILE_TERMINATING
public static final int _MOBILE_TERMINATING
- See Also:
- Constant Field Values
-
_APPLICATION_ORIGINATING
public static final int _APPLICATION_ORIGINATING
- See Also:
- Constant Field Values
-
_APPLICATION_TERMINATION
public static final int _APPLICATION_TERMINATION
- See Also:
- Constant Field Values
-
UNKNOWN
public static final InterfaceType UNKNOWN
-
MOBILE_ORIGINATING
public static final InterfaceType MOBILE_ORIGINATING
-
MOBILE_TERMINATING
public static final InterfaceType MOBILE_TERMINATING
-
APPLICATION_ORIGINATING
public static final InterfaceType APPLICATION_ORIGINATING
-
APPLICATION_TERMINATION
public static final InterfaceType APPLICATION_TERMINATION
-
-
Method Detail
-
fromInt
public static InterfaceType 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
-
-