Class CAP3GPRSEventSpecificInformation
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- CAP3GPRSEventSpecificInformation
-
- All Implemented Interfaces:
DataObject
,Serializable
public class CAP3GPRSEventSpecificInformation extends AbstractFieldsObject
API for CAP-datatypes.GPRSEventSpecificInformation. Generated from the following ASN.1 type definition.GPRSEventSpecificInformation ::= CHOICE { attachChangeOfPositionSpecificInformation SEQUENCE { locationInformationGPRS LocationInformationGPRS OPTIONAL, ... }, pdp-ContextchangeOfPositionSpecificInformation SEQUENCE { accessPointName AccessPointName OPTIONAL, chargingID GPRSChargingID OPTIONAL, locationInformationGPRS LocationInformationGPRS OPTIONAL, endUserAddress EndUserAddress OPTIONAL, qualityOfService QualityOfService OPTIONAL, timeAndTimeZone TimeAndTimezone OPTIONAL, ... gGSNAddress GSN-Address OPTIONAL }, detachSpecificInformation SEQUENCE { initiatingEntity InitiatingEntity OPTIONAL, ... routeingAreaUpdate NULL OPTIONAL }, disconnectSpecificInformation SEQUENCE { initiatingEntity InitiatingEntity OPTIONAL, ... routeingAreaUpdate NULL OPTIONAL }, pDPContextEstablishmentSpecificInformation SEQUENCE { accessPointName AccessPointName OPTIONAL, endUserAddress EndUserAddress OPTIONAL, qualityOfService QualityOfService OPTIONAL, locationInformationGPRS LocationInformationGPRS OPTIONAL, timeAndTimeZone TimeAndTimezone OPTIONAL, pDPInitiationType PDPInitiationType OPTIONAL, ... secondaryPDP-context NULL OPTIONAL }, pDPContextEstablishmentAcknowledgementSpecificInformation SEQUENCE { accessPointName AccessPointName OPTIONAL, chargingID GPRSChargingID OPTIONAL, endUserAddress EndUserAddress OPTIONAL, qualityOfService QualityOfService OPTIONAL, locationInformationGPRS LocationInformationGPRS OPTIONAL, timeAndTimeZone TimeAndTimezone OPTIONAL, ... gGSNAddress GSN-Address OPTIONAL } }
Used as field type by
CAP3EventReportGPRSArg
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CAP3GPRSEventSpecificInformation.AttachChangeOfPositionSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.attachChangeOfPositionSpecificInformation.static class
CAP3GPRSEventSpecificInformation.Choice
API for CAP-datatypes.GPRSEventSpecificInformation.Choice.static class
CAP3GPRSEventSpecificInformation.DetachSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.detachSpecificInformation.static class
CAP3GPRSEventSpecificInformation.DisconnectSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.disconnectSpecificInformation.static class
CAP3GPRSEventSpecificInformation.Pdp_ContextchangeOfPositionSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.pdp-ContextchangeOfPositionSpecificInformation.static class
CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.pDPContextEstablishmentAcknowledgementSpecificInformation.static class
CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
API for CAP-datatypes.GPRSEventSpecificInformation.pDPContextEstablishmentSpecificInformation.
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description CAP3GPRSEventSpecificInformation()
-
Method Summary
-
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 CAP3GPRSEventSpecificInformation 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 CAP3GPRSEventSpecificInformation copyOf(CAP3GPRSEventSpecificInformation 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:
- CAP3GPRSEventSpecificInformation
-
getAttachChangeOfPositionSpecificInformation
public CAP3GPRSEventSpecificInformation.AttachChangeOfPositionSpecificInformation getAttachChangeOfPositionSpecificInformation()
Gets the value of the attachChangeOfPositionSpecificInformation choice.- Returns:
- value of the choice, if choice is attachChangeOfPositionSpecificInformation, else null
-
getChoice
public CAP3GPRSEventSpecificInformation.Choice getChoice()
Gets the discriminant of the current choice.- Returns:
- the current discriminant
-
getDetachSpecificInformation
public CAP3GPRSEventSpecificInformation.DetachSpecificInformation getDetachSpecificInformation()
Gets the value of the detachSpecificInformation choice.- Returns:
- value of the choice, if choice is detachSpecificInformation, else null
-
getDisconnectSpecificInformation
public CAP3GPRSEventSpecificInformation.DisconnectSpecificInformation getDisconnectSpecificInformation()
Gets the value of the disconnectSpecificInformation choice.- Returns:
- value of the choice, if choice is disconnectSpecificInformation, 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
-
getPDPContextEstablishmentAcknowledgementSpecificInformation
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation getPDPContextEstablishmentAcknowledgementSpecificInformation()
Gets the value of the pDPContextEstablishmentAcknowledgementSpecificInformation choice.- Returns:
- value of the choice, if choice is pDPContextEstablishmentAcknowledgementSpecificInformation, else null
-
getPDPContextEstablishmentSpecificInformation
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation getPDPContextEstablishmentSpecificInformation()
Gets the value of the pDPContextEstablishmentSpecificInformation choice.- Returns:
- value of the choice, if choice is pDPContextEstablishmentSpecificInformation, else null
-
getPdp_ContextchangeOfPositionSpecificInformation
public CAP3GPRSEventSpecificInformation.Pdp_ContextchangeOfPositionSpecificInformation getPdp_ContextchangeOfPositionSpecificInformation()
Gets the value of the pdp-ContextchangeOfPositionSpecificInformation choice.- Returns:
- value of the choice, if choice is pdp-ContextchangeOfPositionSpecificInformation, else null
-
isAttachChangeOfPositionSpecificInformationChosen
public boolean isAttachChangeOfPositionSpecificInformationChosen()
Tests whether the choice is attachChangeOfPositionSpecificInformation.- Returns:
- true if chosen, false if not
-
isDetachSpecificInformationChosen
public boolean isDetachSpecificInformationChosen()
Tests whether the choice is detachSpecificInformation.- Returns:
- true if chosen, false if not
-
isDisconnectSpecificInformationChosen
public boolean isDisconnectSpecificInformationChosen()
Tests whether the choice is disconnectSpecificInformation.- Returns:
- true if chosen, false if not
-
isPDPContextEstablishmentAcknowledgementSpecificInformationChosen
public boolean isPDPContextEstablishmentAcknowledgementSpecificInformationChosen()
Tests whether the choice is pDPContextEstablishmentAcknowledgementSpecificInformation.- Returns:
- true if chosen, false if not
-
isPDPContextEstablishmentSpecificInformationChosen
public boolean isPDPContextEstablishmentSpecificInformationChosen()
Tests whether the choice is pDPContextEstablishmentSpecificInformation.- Returns:
- true if chosen, false if not
-
isPdp_ContextchangeOfPositionSpecificInformationChosen
public boolean isPdp_ContextchangeOfPositionSpecificInformationChosen()
Tests whether the choice is pdp-ContextchangeOfPositionSpecificInformation.- Returns:
- true if chosen, false if not
-
setAttachChangeOfPositionSpecificInformation
public CAP3GPRSEventSpecificInformation setAttachChangeOfPositionSpecificInformation(CAP3GPRSEventSpecificInformation.AttachChangeOfPositionSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the attachChangeOfPositionSpecificInformation 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
-
setDetachSpecificInformation
public CAP3GPRSEventSpecificInformation setDetachSpecificInformation(CAP3GPRSEventSpecificInformation.DetachSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the detachSpecificInformation 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
-
setDisconnectSpecificInformation
public CAP3GPRSEventSpecificInformation setDisconnectSpecificInformation(CAP3GPRSEventSpecificInformation.DisconnectSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the disconnectSpecificInformation 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
-
setPDPContextEstablishmentAcknowledgementSpecificInformation
public CAP3GPRSEventSpecificInformation setPDPContextEstablishmentAcknowledgementSpecificInformation(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the pDPContextEstablishmentAcknowledgementSpecificInformation 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
-
setPDPContextEstablishmentSpecificInformation
public CAP3GPRSEventSpecificInformation setPDPContextEstablishmentSpecificInformation(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the pDPContextEstablishmentSpecificInformation 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
-
setPdp_ContextchangeOfPositionSpecificInformation
public CAP3GPRSEventSpecificInformation setPdp_ContextchangeOfPositionSpecificInformation(CAP3GPRSEventSpecificInformation.Pdp_ContextchangeOfPositionSpecificInformation value) throws IllegalStateException, NullPointerException
Sets the value of the pdp-ContextchangeOfPositionSpecificInformation 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
-
-