Class PreEmptionCapability
- java.lang.Object
-
- org.jainslee.resources.diameter.gx.types.va10.PreEmptionCapability
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class PreEmptionCapability extends Object implements Serializable, Enumerated
Java class to represent the PreEmptionCapability enumerated type. Documentation from the relevant specification: The Pre-emption-Capability AVP (AVP code 1047) is of type Enumerated. The AVP defines whether a service data flow can get resources that were already assigned to another service data flow with a lower priority level. The following values are defined:- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_PRE_EMPTION_CAPABILITY_DISABLED
static int
_PRE_EMPTION_CAPABILITY_ENABLED
static PreEmptionCapability
PRE_EMPTION_CAPABILITY_DISABLED
static PreEmptionCapability
PRE_EMPTION_CAPABILITY_ENABLED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreEmptionCapability
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_PRE_EMPTION_CAPABILITY_ENABLED
public static final int _PRE_EMPTION_CAPABILITY_ENABLED
- See Also:
- Constant Field Values
-
_PRE_EMPTION_CAPABILITY_DISABLED
public static final int _PRE_EMPTION_CAPABILITY_DISABLED
- See Also:
- Constant Field Values
-
PRE_EMPTION_CAPABILITY_ENABLED
public static final PreEmptionCapability PRE_EMPTION_CAPABILITY_ENABLED
-
PRE_EMPTION_CAPABILITY_DISABLED
public static final PreEmptionCapability PRE_EMPTION_CAPABILITY_DISABLED
-
-
Method Detail
-
fromInt
public static PreEmptionCapability 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
-
-