Class SubscriberRole
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v960.SubscriberRole
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class SubscriberRole extends Object implements Serializable, Enumerated
Java class to represent the SubscriberRole enumerated type. Documentation from the relevant specification: The Subscriber-Role AVP (AVP code 2033) is of type Enumerated and indicates the role of the subscriber (originating party or terminating party) in MMTel supplementary services.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_ORIGINATING
static int
_TERMINATING
static SubscriberRole
ORIGINATING
static SubscriberRole
TERMINATING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriberRole
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_ORIGINATING
public static final int _ORIGINATING
- See Also:
- Constant Field Values
-
_TERMINATING
public static final int _TERMINATING
- See Also:
- Constant Field Values
-
ORIGINATING
public static final SubscriberRole ORIGINATING
-
TERMINATING
public static final SubscriberRole TERMINATING
-
-
Method Detail
-
fromInt
public static SubscriberRole 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
-
-