Class SessionPriority
- java.lang.Object
-
- org.jainslee.resources.diameter.sh.types.vc60.SessionPriority
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class SessionPriority extends Object implements Serializable, Enumerated
Java class to represent the SessionPriority enumerated type. Documentation from the relevant specification: The Session-Priority AVP is of type Enumerated and indicates to the HSS the session's priority.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_PRIORITY_0
static int
_PRIORITY_1
static int
_PRIORITY_2
static int
_PRIORITY_3
static int
_PRIORITY_4
static SessionPriority
PRIORITY_0
static SessionPriority
PRIORITY_1
static SessionPriority
PRIORITY_2
static SessionPriority
PRIORITY_3
static SessionPriority
PRIORITY_4
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SessionPriority
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_PRIORITY_0
public static final int _PRIORITY_0
- See Also:
- Constant Field Values
-
_PRIORITY_1
public static final int _PRIORITY_1
- See Also:
- Constant Field Values
-
_PRIORITY_2
public static final int _PRIORITY_2
- See Also:
- Constant Field Values
-
_PRIORITY_3
public static final int _PRIORITY_3
- See Also:
- Constant Field Values
-
_PRIORITY_4
public static final int _PRIORITY_4
- See Also:
- Constant Field Values
-
PRIORITY_0
public static final SessionPriority PRIORITY_0
-
PRIORITY_1
public static final SessionPriority PRIORITY_1
-
PRIORITY_2
public static final SessionPriority PRIORITY_2
-
PRIORITY_3
public static final SessionPriority PRIORITY_3
-
PRIORITY_4
public static final SessionPriority PRIORITY_4
-
-
Method Detail
-
fromInt
public static SessionPriority 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
-
-