Class SubscriberRole
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.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_ORIGINATINGstatic int_TERMINATINGstatic SubscriberRoleORIGINATINGstatic SubscriberRoleTERMINATING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriberRolefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-