Class Priority
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.v960.Priority
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Priority extends Object implements Serializable, Enumerated
Java class to represent the Priority enumerated type. Documentation from the relevant specification: The Priority AVP (AVP code 1209) is of type Enumerated and the priority (importance) of the message if specified by the originator MMS User Agent.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Priority
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_LOW
public static final int _LOW
- See Also:
- Constant Field Values
-
_NORMAL
public static final int _NORMAL
- See Also:
- Constant Field Values
-
_HIGH
public static final int _HIGH
- See Also:
- Constant Field Values
-
LOW
public static final Priority LOW
-
NORMAL
public static final Priority NORMAL
-
HIGH
public static final Priority HIGH
-
-
Method Detail
-
fromInt
public static Priority 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
-
-