Class RoleOfNode
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.RoleOfNode
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class RoleOfNode extends Object implements Serializable, Enumerated
Java class to represent the RoleOfNode enumerated type. Documentation from the relevant specification: The Role-Of-Node AVP (AVP code 829) is of type Enumerated and specifies the role of the AS/CSCF.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_FORWARDING_ROLE
static int
_ORIGINATING_ROLE
static int
_TERMINATING_ROLE
static RoleOfNode
FORWARDING_ROLE
The node is applying a originating role, serving the forwarding party.static RoleOfNode
ORIGINATING_ROLE
The IMS node is applying an originating role, serving the calling party.static RoleOfNode
TERMINATING_ROLE
The IMS node is applying a terminating role, serving the called party.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleOfNode
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_ORIGINATING_ROLE
public static final int _ORIGINATING_ROLE
- See Also:
- Constant Field Values
-
_TERMINATING_ROLE
public static final int _TERMINATING_ROLE
- See Also:
- Constant Field Values
-
_FORWARDING_ROLE
public static final int _FORWARDING_ROLE
- See Also:
- Constant Field Values
-
ORIGINATING_ROLE
public static final RoleOfNode ORIGINATING_ROLE
The IMS node is applying an originating role, serving the calling party.
-
TERMINATING_ROLE
public static final RoleOfNode TERMINATING_ROLE
The IMS node is applying a terminating role, serving the called party.
-
FORWARDING_ROLE
public static final RoleOfNode FORWARDING_ROLE
The node is applying a originating role, serving the forwarding party.
-
-
Method Detail
-
fromInt
public static RoleOfNode 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
-
-