Class RoleOfNode
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.va00.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_ORIGINATING_ROLEstatic int_TERMINATING_ROLEstatic RoleOfNodeORIGINATING_ROLEThe IMS node is applying an originating role, serving the calling party.static RoleOfNodeTERMINATING_ROLEThe 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 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
-
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.
-
-
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
-
-