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_ROLEstatic int_ORIGINATING_ROLEstatic int_PROXY_ROLEstatic int_TERMINATING_ROLEstatic RoleOfNodeB2BUA_ROLEThe AS is applying a B2BUA role.static RoleOfNodeORIGINATING_ROLEThe AS/CSCF is applying an originating role, serving the calling subscriber.static RoleOfNodePROXY_ROLEThe AS is applying a proxy role.static RoleOfNodeTERMINATING_ROLEThe 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 RoleOfNodefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-