public class CAP4ChangeOfLocation extends AbstractFieldsObject
ChangeOfLocation ::= CHOICE { cellGlobalId CellGlobalIdOrServiceAreaIdFixedLength, serviceAreaId CellGlobalIdOrServiceAreaIdFixedLength, locationAreaId LAIFixedLength, inter-SystemHandOver NULL, inter-PLMNHandOver NULL, inter-MSCHandOver NULL, changeOfLocationAlt ChangeOfLocationAlt }
Used in array as field type by CAP4DpSpecificCriteriaAlt
.
Modifier and Type | Class and Description |
---|---|
static class |
CAP4ChangeOfLocation.Choice
API for CAP-datatypes.ChangeOfLocation.Choice.
|
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
CAP4ChangeOfLocation() |
Modifier and Type | Method and Description |
---|---|
CAP4ChangeOfLocation |
clone()
Constructs a copy of this object and everything reachable from it.
|
static CAP4ChangeOfLocation |
copyOf(CAP4ChangeOfLocation from)
Creates a new object of this type, cloning the values of common fields from the given object of any subclass of the same base type.
|
CellGlobalId |
getCellGlobalId()
Gets the value of the cellGlobalId choice.
|
CAP4ChangeOfLocationAlt |
getChangeOfLocationAlt()
Gets the value of the changeOfLocationAlt choice.
|
CAP4ChangeOfLocation.Choice |
getChoice()
Gets the discriminant of the current choice.
|
static FieldAccessor[] |
getFieldAccessors()
Gets a new array of the accessors for fields of this type.
|
Map<String,Object> |
getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value.
|
LocationAreaId |
getLocationAreaId()
Gets the value of the locationAreaId choice.
|
CellGlobalId |
getServiceAreaId()
Gets the value of the serviceAreaId choice.
|
boolean |
isCellGlobalIdChosen()
Tests whether the choice is cellGlobalId.
|
boolean |
isChangeOfLocationAltChosen()
Tests whether the choice is changeOfLocationAlt.
|
boolean |
isInter_MSCHandOverChosen()
Tests whether the choice is inter-MSCHandOver.
|
boolean |
isInter_PLMNHandOverChosen()
Tests whether the choice is inter-PLMNHandOver.
|
boolean |
isInter_SystemHandOverChosen()
Tests whether the choice is inter-SystemHandOver.
|
boolean |
isLocationAreaIdChosen()
Tests whether the choice is locationAreaId.
|
boolean |
isServiceAreaIdChosen()
Tests whether the choice is serviceAreaId.
|
CAP4ChangeOfLocation |
setCellGlobalId(CellGlobalId value)
Sets the value of the cellGlobalId choice.
|
CAP4ChangeOfLocation |
setChangeOfLocationAlt(CAP4ChangeOfLocationAlt value)
Sets the value of the changeOfLocationAlt choice.
|
CAP4ChangeOfLocation |
setInter_MSCHandOver()
Sets the inter-MSCHandOver choice.
|
CAP4ChangeOfLocation |
setInter_PLMNHandOver()
Sets the inter-PLMNHandOver choice.
|
CAP4ChangeOfLocation |
setInter_SystemHandOver()
Sets the inter-SystemHandOver choice.
|
CAP4ChangeOfLocation |
setLocationAreaId(LocationAreaId value)
Sets the value of the locationAreaId choice.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
CAP4ChangeOfLocation |
setServiceAreaId(CellGlobalId value)
Sets the value of the serviceAreaId choice.
|
equals, hashCode, toString
checkModify, isReadOnly
public CAP4ChangeOfLocation clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static CAP4ChangeOfLocation copyOf(CAP4ChangeOfLocation from)
from
- the object from which to copypublic CellGlobalId getCellGlobalId()
public CAP4ChangeOfLocationAlt getChangeOfLocationAlt()
public CAP4ChangeOfLocation.Choice getChoice()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- ignored, as value cannot be optionalpublic LocationAreaId getLocationAreaId()
public CellGlobalId getServiceAreaId()
public boolean isCellGlobalIdChosen()
public boolean isChangeOfLocationAltChosen()
public boolean isInter_MSCHandOverChosen()
public boolean isInter_PLMNHandOverChosen()
public boolean isInter_SystemHandOverChosen()
public boolean isLocationAreaIdChosen()
public boolean isServiceAreaIdChosen()
public CAP4ChangeOfLocation setCellGlobalId(CellGlobalId value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic CAP4ChangeOfLocation setChangeOfLocationAlt(CAP4ChangeOfLocationAlt value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic CAP4ChangeOfLocation setInter_MSCHandOver() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic CAP4ChangeOfLocation setInter_PLMNHandOver() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic CAP4ChangeOfLocation setInter_SystemHandOver() throws IllegalStateException
IllegalStateException
- if this instance has been marked as read-onlypublic CAP4ChangeOfLocation setLocationAreaId(LocationAreaId value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is nullpublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public CAP4ChangeOfLocation setServiceAreaId(CellGlobalId value) throws IllegalStateException, NullPointerException
value
- the new value for the choiceIllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null