Class Originator
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v960.Originator
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Originator extends Object implements Serializable, Enumerated
Java class to represent the Originator enumerated type. Documentation from the relevant specification: The Originator AVP (AVP code 864) is of type Enumerated and indicates the originating party of the message body.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_CALLED_PARTY
static int
_CALLING_PARTY
static Originator
CALLED_PARTY
static Originator
CALLING_PARTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Originator
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_CALLING_PARTY
public static final int _CALLING_PARTY
- See Also:
- Constant Field Values
-
_CALLED_PARTY
public static final int _CALLED_PARTY
- See Also:
- Constant Field Values
-
CALLING_PARTY
public static final Originator CALLING_PARTY
-
CALLED_PARTY
public static final Originator CALLED_PARTY
-
-
Method Detail
-
fromInt
public static Originator 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
-
-