Class CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- PDPContextEstablishmentSpecificInformation
-
- All Implemented Interfaces:
DataObject
,Serializable
- Enclosing class:
- CAP3GPRSEventSpecificInformation
public static class CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation extends AbstractFieldsObject
API for CAP-datatypes.GPRSEventSpecificInformation.pDPContextEstablishmentSpecificInformation. Generated from the following ASN.1 type definition.pDPContextEstablishmentSpecificInformation ::= SEQUENCE { accessPointName AccessPointName OPTIONAL, endUserAddress EndUserAddress OPTIONAL, qualityOfService QualityOfService OPTIONAL, locationInformationGPRS LocationInformationGPRS OPTIONAL, timeAndTimeZone TimeAndTimezone OPTIONAL, pDPInitiationType PDPInitiationType OPTIONAL, ... secondaryPDP-context NULL 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 PDPContextEstablishmentSpecificInformation()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
clone()
Constructs a copy of this object and everything reachable from it.static CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
copyOf(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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.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.CAP3LocationInformationGPRS
getLocationInformationGPRS()
Gets the value of the field locationInformationGPRS.CAP3PDPInitiationType
getPDPInitiationType()
Gets the value of the field pDPInitiationType.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
hasEndUserAddress()
Tests whether the field endUserAddress has a value.boolean
hasLocationInformationGPRS()
Tests whether the field locationInformationGPRS has a value.boolean
hasPDPInitiationType()
Tests whether the field pDPInitiationType has a value.boolean
hasQualityOfService()
Tests whether the field qualityOfService has a value.boolean
hasSecondaryPDP_context()
Tests whether the field secondaryPDP-context is present.boolean
hasTimeAndTimeZone()
Tests whether the field timeAndTimeZone has a value.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setAccessPointName(AccessPointName value)
Sets the value of the field accessPointName.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setEndUserAddress(CAP3EndUserAddress value)
Sets the value of the field endUserAddress.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setLocationInformationGPRS(CAP3LocationInformationGPRS value)
Sets the value of the field locationInformationGPRS.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setPDPInitiationType(CAP3PDPInitiationType value)
Sets the value of the field pDPInitiationType.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setQualityOfService(CAP3QualityOfService value)
Sets the value of the field qualityOfService.void
setReadOnly()
Sets this and all its fields to be immutable.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
setSecondaryPDP_contextPresent(boolean flag)
Sets the presence or absence of the optional field secondaryPDP-context.CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation
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.PDPContextEstablishmentSpecificInformation 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.PDPContextEstablishmentSpecificInformation copyOf(CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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.PDPContextEstablishmentSpecificInformation
-
getAccessPointName
public AccessPointName getAccessPointName()
Gets the value of the field accessPointName.- Returns:
- value of field accessPointName, 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
-
getLocationInformationGPRS
public CAP3LocationInformationGPRS getLocationInformationGPRS()
Gets the value of the field locationInformationGPRS.- Returns:
- value of field locationInformationGPRS, or null if not present
-
getPDPInitiationType
public CAP3PDPInitiationType getPDPInitiationType()
Gets the value of the field pDPInitiationType.- Returns:
- value of field pDPInitiationType, 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
-
hasEndUserAddress
public boolean hasEndUserAddress()
Tests whether the field endUserAddress has a value.- Returns:
- whether the field endUserAddress has a value
-
hasLocationInformationGPRS
public boolean hasLocationInformationGPRS()
Tests whether the field locationInformationGPRS has a value.- Returns:
- whether the field locationInformationGPRS has a value
-
hasPDPInitiationType
public boolean hasPDPInitiationType()
Tests whether the field pDPInitiationType has a value.- Returns:
- whether the field pDPInitiationType has a value
-
hasQualityOfService
public boolean hasQualityOfService()
Tests whether the field qualityOfService has a value.- Returns:
- whether the field qualityOfService has a value
-
hasSecondaryPDP_context
public boolean hasSecondaryPDP_context()
Tests whether the field secondaryPDP-context is present.- Returns:
- whether the field secondaryPDP-context is present
-
hasTimeAndTimeZone
public boolean hasTimeAndTimeZone()
Tests whether the field timeAndTimeZone has a value.- Returns:
- whether the field timeAndTimeZone has a value
-
setAccessPointName
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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
-
setEndUserAddress
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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
-
setLocationInformationGPRS
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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
-
setPDPInitiationType
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation setPDPInitiationType(CAP3PDPInitiationType value) throws IllegalStateException
Sets the value of the field pDPInitiationType. 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.PDPContextEstablishmentSpecificInformation 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
-
setSecondaryPDP_contextPresent
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation setSecondaryPDP_contextPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field secondaryPDP-context.- Parameters:
flag
- either true if the field should be marked as present or false if the field should be marked as absent- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setTimeAndTimeZone
public CAP3GPRSEventSpecificInformation.PDPContextEstablishmentSpecificInformation 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
-
-