Class CAP4MetDPCriterion
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP4MetDPCriterion
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP4MetDPCriterion extends AbstractFieldsObject
API for CAP-datatypes.MetDPCriterion. Generated from the following ASN.1 type definition.MetDPCriterion ::= CHOICE { enteringCellGlobalId CellGlobalIdOrServiceAreaIdFixedLength, leavingCellGlobalId CellGlobalIdOrServiceAreaIdFixedLength, enteringServiceAreaId CellGlobalIdOrServiceAreaIdFixedLength, leavingServiceAreaId CellGlobalIdOrServiceAreaIdFixedLength, enteringLocationAreaId LAIFixedLength, leavingLocationAreaId LAIFixedLength, inter-SystemHandOverToUMTS NULL, inter-SystemHandOverToGSM NULL, inter-PLMNHandOver NULL, inter-MSCHandOver NULL, metDPCriterionAlt MetDPCriterionAlt }
Used in array as field type by
CAP4EventSpecificInformationBCSM.OChangeOfPositionSpecificInfo
.Used in array as field type by
CAP4EventSpecificInformationBCSM.TChangeOfPositionSpecificInfo
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP4MetDPCriterion.Choice
API for CAP-datatypes.MetDPCriterion.Choice.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP4MetDPCriterion()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP4MetDPCriterion
clone()
Constructs a copy of this object and everything reachable from it.static CAP4MetDPCriterion
copyOf(CAP4MetDPCriterion 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.CAP4MetDPCriterion.Choice
getChoice()
Gets the discriminant of the current choice.CellGlobalId
getEnteringCellGlobalId()
Gets the value of the enteringCellGlobalId choice.LocationAreaId
getEnteringLocationAreaId()
Gets the value of the enteringLocationAreaId choice.CellGlobalId
getEnteringServiceAreaId()
Gets the value of the enteringServiceAreaId 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.CellGlobalId
getLeavingCellGlobalId()
Gets the value of the leavingCellGlobalId choice.LocationAreaId
getLeavingLocationAreaId()
Gets the value of the leavingLocationAreaId choice.CellGlobalId
getLeavingServiceAreaId()
Gets the value of the leavingServiceAreaId choice.CAP4MetDPCriterionAlt
getMetDPCriterionAlt()
Gets the value of the metDPCriterionAlt choice.boolean
isEnteringCellGlobalIdChosen()
Tests whether the choice is enteringCellGlobalId.boolean
isEnteringLocationAreaIdChosen()
Tests whether the choice is enteringLocationAreaId.boolean
isEnteringServiceAreaIdChosen()
Tests whether the choice is enteringServiceAreaId.boolean
isInter_MSCHandOverChosen()
Tests whether the choice is inter-MSCHandOver.boolean
isInter_PLMNHandOverChosen()
Tests whether the choice is inter-PLMNHandOver.boolean
isInter_SystemHandOverToGSMChosen()
Tests whether the choice is inter-SystemHandOverToGSM.boolean
isInter_SystemHandOverToUMTSChosen()
Tests whether the choice is inter-SystemHandOverToUMTS.boolean
isLeavingCellGlobalIdChosen()
Tests whether the choice is leavingCellGlobalId.boolean
isLeavingLocationAreaIdChosen()
Tests whether the choice is leavingLocationAreaId.boolean
isLeavingServiceAreaIdChosen()
Tests whether the choice is leavingServiceAreaId.boolean
isMetDPCriterionAltChosen()
Tests whether the choice is metDPCriterionAlt.CAP4MetDPCriterion
setEnteringCellGlobalId(CellGlobalId value)
Sets the value of the enteringCellGlobalId choice.CAP4MetDPCriterion
setEnteringLocationAreaId(LocationAreaId value)
Sets the value of the enteringLocationAreaId choice.CAP4MetDPCriterion
setEnteringServiceAreaId(CellGlobalId value)
Sets the value of the enteringServiceAreaId choice.CAP4MetDPCriterion
setInter_MSCHandOver()
Sets the inter-MSCHandOver choice.CAP4MetDPCriterion
setInter_PLMNHandOver()
Sets the inter-PLMNHandOver choice.CAP4MetDPCriterion
setInter_SystemHandOverToGSM()
Sets the inter-SystemHandOverToGSM choice.CAP4MetDPCriterion
setInter_SystemHandOverToUMTS()
Sets the inter-SystemHandOverToUMTS choice.CAP4MetDPCriterion
setLeavingCellGlobalId(CellGlobalId value)
Sets the value of the leavingCellGlobalId choice.CAP4MetDPCriterion
setLeavingLocationAreaId(LocationAreaId value)
Sets the value of the leavingLocationAreaId choice.CAP4MetDPCriterion
setLeavingServiceAreaId(CellGlobalId value)
Sets the value of the leavingServiceAreaId choice.CAP4MetDPCriterion
setMetDPCriterionAlt(CAP4MetDPCriterionAlt value)
Sets the value of the metDPCriterionAlt choice.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public CAP4MetDPCriterion clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static CAP4MetDPCriterion copyOf(CAP4MetDPCriterion 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.- Parameters:
from
- the object from which to copy- Returns:
- CAP4MetDPCriterion
-
getChoice
public CAP4MetDPCriterion.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getEnteringCellGlobalId
public CellGlobalId getEnteringCellGlobalId()
Gets the value of the enteringCellGlobalId choice.- Returns:
- value of the choice, if choice is enteringCellGlobalId, else null
-
getEnteringLocationAreaId
public LocationAreaId getEnteringLocationAreaId()
Gets the value of the enteringLocationAreaId choice.- Returns:
- value of the choice, if choice is enteringLocationAreaId, else null
-
getEnteringServiceAreaId
public CellGlobalId getEnteringServiceAreaId()
Gets the value of the enteringServiceAreaId choice.- Returns:
- value of the choice, if choice is enteringServiceAreaId, else null
-
getFieldAccessors
public static FieldAccessor[] getFieldAccessors()
Gets a new array of the accessors for fields of this type.- Returns:
- FieldAccessor[]
-
getFieldsMap
public Map<String,Object> getFieldsMap(boolean withAbsents)
Gets a Map from :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- ignored, as value cannot be optional- Returns:
- Map from :discriminant-name to associated-value
-
getLeavingCellGlobalId
public CellGlobalId getLeavingCellGlobalId()
Gets the value of the leavingCellGlobalId choice.- Returns:
- value of the choice, if choice is leavingCellGlobalId, else null
-
getLeavingLocationAreaId
public LocationAreaId getLeavingLocationAreaId()
Gets the value of the leavingLocationAreaId choice.- Returns:
- value of the choice, if choice is leavingLocationAreaId, else null
-
getLeavingServiceAreaId
public CellGlobalId getLeavingServiceAreaId()
Gets the value of the leavingServiceAreaId choice.- Returns:
- value of the choice, if choice is leavingServiceAreaId, else null
-
getMetDPCriterionAlt
public CAP4MetDPCriterionAlt getMetDPCriterionAlt()
Gets the value of the metDPCriterionAlt choice.- Returns:
- value of the choice, if choice is metDPCriterionAlt, else null
-
isEnteringCellGlobalIdChosen
public boolean isEnteringCellGlobalIdChosen()
Tests whether the choice is enteringCellGlobalId.- Returns:
- true if chosen, false if not
-
isEnteringLocationAreaIdChosen
public boolean isEnteringLocationAreaIdChosen()
Tests whether the choice is enteringLocationAreaId.- Returns:
- true if chosen, false if not
-
isEnteringServiceAreaIdChosen
public boolean isEnteringServiceAreaIdChosen()
Tests whether the choice is enteringServiceAreaId.- Returns:
- true if chosen, false if not
-
isInter_MSCHandOverChosen
public boolean isInter_MSCHandOverChosen()
Tests whether the choice is inter-MSCHandOver.- Returns:
- true if chosen, false if not
-
isInter_PLMNHandOverChosen
public boolean isInter_PLMNHandOverChosen()
Tests whether the choice is inter-PLMNHandOver.- Returns:
- true if chosen, false if not
-
isInter_SystemHandOverToGSMChosen
public boolean isInter_SystemHandOverToGSMChosen()
Tests whether the choice is inter-SystemHandOverToGSM.- Returns:
- true if chosen, false if not
-
isInter_SystemHandOverToUMTSChosen
public boolean isInter_SystemHandOverToUMTSChosen()
Tests whether the choice is inter-SystemHandOverToUMTS.- Returns:
- true if chosen, false if not
-
isLeavingCellGlobalIdChosen
public boolean isLeavingCellGlobalIdChosen()
Tests whether the choice is leavingCellGlobalId.- Returns:
- true if chosen, false if not
-
isLeavingLocationAreaIdChosen
public boolean isLeavingLocationAreaIdChosen()
Tests whether the choice is leavingLocationAreaId.- Returns:
- true if chosen, false if not
-
isLeavingServiceAreaIdChosen
public boolean isLeavingServiceAreaIdChosen()
Tests whether the choice is leavingServiceAreaId.- Returns:
- true if chosen, false if not
-
isMetDPCriterionAltChosen
public boolean isMetDPCriterionAltChosen()
Tests whether the choice is metDPCriterionAlt.- Returns:
- true if chosen, false if not
-
setEnteringCellGlobalId
public CAP4MetDPCriterion setEnteringCellGlobalId(CellGlobalId value) throws IllegalStateException, NullPointerException
Sets the value of the enteringCellGlobalId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setEnteringLocationAreaId
public CAP4MetDPCriterion setEnteringLocationAreaId(LocationAreaId value) throws IllegalStateException, NullPointerException
Sets the value of the enteringLocationAreaId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setEnteringServiceAreaId
public CAP4MetDPCriterion setEnteringServiceAreaId(CellGlobalId value) throws IllegalStateException, NullPointerException
Sets the value of the enteringServiceAreaId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setInter_MSCHandOver
public CAP4MetDPCriterion setInter_MSCHandOver() throws IllegalStateException
Sets the inter-MSCHandOver choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setInter_PLMNHandOver
public CAP4MetDPCriterion setInter_PLMNHandOver() throws IllegalStateException
Sets the inter-PLMNHandOver choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setInter_SystemHandOverToGSM
public CAP4MetDPCriterion setInter_SystemHandOverToGSM() throws IllegalStateException
Sets the inter-SystemHandOverToGSM choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setInter_SystemHandOverToUMTS
public CAP4MetDPCriterion setInter_SystemHandOverToUMTS() throws IllegalStateException
Sets the inter-SystemHandOverToUMTS choice.- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setLeavingCellGlobalId
public CAP4MetDPCriterion setLeavingCellGlobalId(CellGlobalId value) throws IllegalStateException, NullPointerException
Sets the value of the leavingCellGlobalId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setLeavingLocationAreaId
public CAP4MetDPCriterion setLeavingLocationAreaId(LocationAreaId value) throws IllegalStateException, NullPointerException
Sets the value of the leavingLocationAreaId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setLeavingServiceAreaId
public CAP4MetDPCriterion setLeavingServiceAreaId(CellGlobalId value) throws IllegalStateException, NullPointerException
Sets the value of the leavingServiceAreaId choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setMetDPCriterionAlt
public CAP4MetDPCriterion setMetDPCriterionAlt(CAP4MetDPCriterionAlt value) throws IllegalStateException, NullPointerException
Sets the value of the metDPCriterionAlt choice.- Parameters:
value
- the new value for the choice- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-onlyNullPointerException
- if the given value is null
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-