Class CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- PDPContextEstablishmentAcknowledgementSpecificInformation
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CAP3GPRSEventSpecificInformation
public static class CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation extends AbstractFieldsObject
API for CAP-datatypes.GPRSEventSpecificInformation.pDPContextEstablishmentAcknowledgementSpecificInformation. Generated from the following ASN.1 type definition.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
CAP3GPRSEventSpecificInformation
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description PDPContextEstablishmentAcknowledgementSpecificInformation()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
clone()
Constructs a copy of this object and everything reachable from it.static CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
copyOf(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation 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.AccessPointName
getAccessPointName()
Gets the value of the field accessPointName.byte[]
getChargingID()
Gets the value of the field chargingID.CAP3EndUserAddress
getEndUserAddress()
Gets the value of the field endUserAddress.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 field-name to field-value.GSNAddress
getGGSNAddress()
Gets the value of the field gGSNAddress.CAP3LocationInformationGPRS
getLocationInformationGPRS()
Gets the value of the field locationInformationGPRS.CAP3QualityOfService
getQualityOfService()
Gets the value of the field qualityOfService.TimeAndTimezone
getTimeAndTimeZone()
Gets the value of the field timeAndTimeZone.boolean
hasAccessPointName()
Tests whether the field accessPointName has a value.boolean
hasChargingID()
Tests whether the field chargingID has a value.boolean
hasEndUserAddress()
Tests whether the field endUserAddress has a value.boolean
hasGGSNAddress()
Tests whether the field gGSNAddress has a value.boolean
hasLocationInformationGPRS()
Tests whether the field locationInformationGPRS has a value.boolean
hasQualityOfService()
Tests whether the field qualityOfService has a value.boolean
hasTimeAndTimeZone()
Tests whether the field timeAndTimeZone has a value.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setAccessPointName(AccessPointName value)
Sets the value of the field accessPointName.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setChargingID(byte[] value)
Sets the value of the field chargingID.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setEndUserAddress(CAP3EndUserAddress value)
Sets the value of the field endUserAddress.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setGGSNAddress(GSNAddress value)
Sets the value of the field gGSNAddress.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setLocationInformationGPRS(CAP3LocationInformationGPRS value)
Sets the value of the field locationInformationGPRS.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setQualityOfService(CAP3QualityOfService value)
Sets the value of the field qualityOfService.void
setReadOnly()
Sets this and all its fields to be immutable.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation
setTimeAndTimeZone(TimeAndTimezone value)
Sets the value of the field timeAndTimeZone.-
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.PDPContextEstablishmentAcknowledgementSpecificInformation 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.PDPContextEstablishmentAcknowledgementSpecificInformation copyOf(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation 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.PDPContextEstablishmentAcknowledgementSpecificInformation
-
getAccessPointName
public AccessPointName getAccessPointName()
Gets the value of the field accessPointName.- Returns:
- value of field accessPointName, or null if not present
-
getChargingID
public byte[] getChargingID()
Gets the value of the field chargingID.- Returns:
- value of field chargingID, or null if not present
-
getEndUserAddress
public CAP3EndUserAddress getEndUserAddress()
Gets the value of the field endUserAddress.- Returns:
- value of field endUserAddress, or null if not present
-
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 field-name to field-value. For a field of primitive type, the field-value is boxed. For an absent optional field, the field-value is AbstractFieldsObject.FIELD_ABSENT. For an unitialised mandatory field, the field-value is AbstractFieldsObject.FIELD_UNINITIALISED.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getGGSNAddress
public GSNAddress getGGSNAddress()
Gets the value of the field gGSNAddress.- Returns:
- value of field gGSNAddress, or null if not present
-
getLocationInformationGPRS
public CAP3LocationInformationGPRS getLocationInformationGPRS()
Gets the value of the field locationInformationGPRS.- Returns:
- value of field locationInformationGPRS, or null if not present
-
getQualityOfService
public CAP3QualityOfService getQualityOfService()
Gets the value of the field qualityOfService.- Returns:
- value of field qualityOfService, or null if not present
-
getTimeAndTimeZone
public TimeAndTimezone getTimeAndTimeZone()
Gets the value of the field timeAndTimeZone.- Returns:
- value of field timeAndTimeZone, or null if not present
-
hasAccessPointName
public boolean hasAccessPointName()
Tests whether the field accessPointName has a value.- Returns:
- whether the field accessPointName has a value
-
hasChargingID
public boolean hasChargingID()
Tests whether the field chargingID has a value.- Returns:
- whether the field chargingID has a value
-
hasEndUserAddress
public boolean hasEndUserAddress()
Tests whether the field endUserAddress has a value.- Returns:
- whether the field endUserAddress has a value
-
hasGGSNAddress
public boolean hasGGSNAddress()
Tests whether the field gGSNAddress has a value.- Returns:
- whether the field gGSNAddress has a value
-
hasLocationInformationGPRS
public boolean hasLocationInformationGPRS()
Tests whether the field locationInformationGPRS has a value.- Returns:
- whether the field locationInformationGPRS has a value
-
hasQualityOfService
public boolean hasQualityOfService()
Tests whether the field qualityOfService has a value.- Returns:
- whether the field qualityOfService has a value
-
hasTimeAndTimeZone
public boolean hasTimeAndTimeZone()
Tests whether the field timeAndTimeZone has a value.- Returns:
- whether the field timeAndTimeZone has a value
-
setAccessPointName
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setAccessPointName(AccessPointName value) throws IllegalStateException
Sets the value of the field accessPointName. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setChargingID
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setChargingID(byte[] value) throws IllegalStateException
Sets the value of the field chargingID. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setEndUserAddress
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setEndUserAddress(CAP3EndUserAddress value) throws IllegalStateException
Sets the value of the field endUserAddress. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setGGSNAddress
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setGGSNAddress(GSNAddress value) throws IllegalStateException
Sets the value of the field gGSNAddress. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setLocationInformationGPRS
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setLocationInformationGPRS(CAP3LocationInformationGPRS value) throws IllegalStateException
Sets the value of the field locationInformationGPRS. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setQualityOfService
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setQualityOfService(CAP3QualityOfService value) throws IllegalStateException
Sets the value of the field qualityOfService. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
setTimeAndTimeZone
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentAcknowledgementSpecificInformation setTimeAndTimeZone(TimeAndTimezone value) throws IllegalStateException
Sets the value of the field timeAndTimeZone. If null, marks the field as absent.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
-