Class RoleOfNode
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v790.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
_B2BUA_ROLE
static int
_ORIGINATING_ROLE
static int
_PROXY_ROLE
static int
_TERMINATING_ROLE
static RoleOfNode
B2BUA_ROLE
The AS is applying a B2BUA role.static RoleOfNode
ORIGINATING_ROLE
The AS/CSCF is applying an originating role, serving the calling subscriber.static RoleOfNode
PROXY_ROLE
The AS is applying a proxy role.static RoleOfNode
TERMINATING_ROLE
The AS/CSCF is applying a terminating role, serving the called subscriber.
-
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
-
_PROXY_ROLE
public static final int _PROXY_ROLE
- See Also:
- Constant Field Values
-
_B2BUA_ROLE
public static final int _B2BUA_ROLE
- See Also:
- Constant Field Values
-
ORIGINATING_ROLE
public static final RoleOfNode ORIGINATING_ROLE
The AS/CSCF is applying an originating role, serving the calling subscriber.
-
TERMINATING_ROLE
public static final RoleOfNode TERMINATING_ROLE
The AS/CSCF is applying a terminating role, serving the called subscriber.
-
PROXY_ROLE
public static final RoleOfNode PROXY_ROLE
The AS is applying a proxy role.
-
B2BUA_ROLE
public static final RoleOfNode B2BUA_ROLE
The AS is applying a B2BUA role.
-
-
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
-
-