Class CurrentLocation
- java.lang.Object
-
- org.jainslee.resources.diameter.sh.types.vc60.CurrentLocation
-
- All Implemented Interfaces:
Serializable,Enumerated
public class CurrentLocation extends Object implements Serializable, Enumerated
Java class to represent the CurrentLocation enumerated type. Documentation from the relevant specification: The Current-Location AVP is of type Enumerated, and indicates whether an active location retrieval has to be initiated or not.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int_DO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVALstatic int_INITIATE_ACTIVE_LOCATION_RETRIEVALstatic CurrentLocationDO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVALThe request indicates that the initiation of an active location retrieval is not required.static CurrentLocationINITIATE_ACTIVE_LOCATION_RETRIEVALIt is requested that an active location retrieval is initiated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CurrentLocationfromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
Field Detail
-
_DO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVAL
public static final int _DO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVAL
- See Also:
- Constant Field Values
-
_INITIATE_ACTIVE_LOCATION_RETRIEVAL
public static final int _INITIATE_ACTIVE_LOCATION_RETRIEVAL
- See Also:
- Constant Field Values
-
DO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVAL
public static final CurrentLocation DO_NOT_NEED_INITIATE_ACTIVE_LOCATION_RETRIEVAL
The request indicates that the initiation of an active location retrieval is not required.
-
INITIATE_ACTIVE_LOCATION_RETRIEVAL
public static final CurrentLocation INITIATE_ACTIVE_LOCATION_RETRIEVAL
It is requested that an active location retrieval is initiated.
-
-
Method Detail
-
fromInt
public static CurrentLocation 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
-
-