public class MAPPDP_Context extends AbstractFieldsObject
PDP-Context ::= SEQUENCE { pdp-ContextId ContextId, pdp-Type PDP-Type, pdp-Address PDP-Address OPTIONAL, qos-Subscribed QoS-Subscribed, -- qos-Subscribed shall be discarded if ext-QoS-Subscribed is received and supported. vplmnAddressAllowed NULL OPTIONAL, apn APN, extensionContainer ExtensionContainer OPTIONAL, ... ext-QoS-Subscribed Ext-QoS-Subscribed OPTIONAL, -- Added in R99. pdp-ChargingCharacteristics ChargingCharacteristics OPTIONAL, -- Added in R99. ext2-QoS-Subscribed Ext2-QoS-Subscribed OPTIONAL, -- Added in release 5. ext2-QoS-Subscribed may be present only if ext-QoS-Subscribed is present. ext3-QoS-Subscribed Ext3-QoS-Subscribed OPTIONAL, -- Added in release 7. ext3-QoS-Subscribed may be present only if ext2-QoS-Subscribed is present. ext4-QoS-Subscribed Ext4-QoS-Subscribed OPTIONAL, -- Added in release 9. ext4-QoS-Subscribed may be present only if ext3-QoS-Subscribed is present. apn-oi-Replacement APN-OI-Replacement OPTIONAL, -- Added in release 9. This apn-oi-Replacement refers to the APN level apn-oi-Replacement and has higher priority than UE level apn-oi-Replacement. ext-pdp-Type Ext-PDP-Type OPTIONAL, -- Added in release 9. Contains the value IPv4v6 defined in 3GPP TS 29.060, if the PDP can be accessed by dual-stack UEs. ext-pdp-Address PDP-Address OPTIONAL, -- Added in release 9. Contains an additional IP address in case of dual-stack static IP address assignment for the UE. It may contain an IPv4 or an IPv6 address/prefix, and it may be present only if pdp-Address is present; if both are present, each parameter shall contain a different type of address (IPv4 or IPv6). sipto-Permission SIPTO-Permission OPTIONAL -- Added in release 10. }Added in R97.
Used in array as field type by MAPGPRSSubscriptionData
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPPDP_Context()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPPDP_Context |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPPDP_Context |
copyOf(MAPPDP_Context 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.
|
AccessPointNameOperatorId |
getApn_oi_Replacement()
Gets the value of the field apn-oi-Replacement.
|
AccessPointName |
getApn()
Gets the value of the field apn.
|
byte[] |
getExt_pdp_Address()
Gets the value of the field ext-pdp-Address.
|
byte[] |
getExt_pdp_Type()
Gets the value of the field ext-pdp-Type.
|
byte[] |
getExt_QoS_Subscribed()
Gets the value of the field ext-QoS-Subscribed.
|
byte[] |
getExt2_QoS_Subscribed()
Gets the value of the field ext2-QoS-Subscribed.
|
byte[] |
getExt3_QoS_Subscribed()
Gets the value of the field ext3-QoS-Subscribed.
|
byte[] |
getExt4_QoS_Subscribed()
Gets the value of the field ext4-QoS-Subscribed.
|
MAPExtensionContainer |
getExtensionContainer()
Gets the value of the field extensionContainer.
|
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.
|
byte[] |
getPdp_Address()
Gets the value of the field pdp-Address.
|
byte[] |
getPdp_ChargingCharacteristics()
Gets the value of the field pdp-ChargingCharacteristics.
|
int |
getPdp_ContextId()
Gets the value of the field pdp-ContextId.
|
byte[] |
getPdp_Type()
Gets the value of the field pdp-Type.
|
byte[] |
getQos_Subscribed()
Gets the value of the field qos-Subscribed.
|
MAPSIPTO_Permission |
getSipto_Permission()
Gets the value of the field sipto-Permission.
|
boolean |
hasApn_oi_Replacement()
Tests whether the field apn-oi-Replacement has a value.
|
boolean |
hasApn()
Tests whether the field apn has a value.
|
boolean |
hasExt_pdp_Address()
Tests whether the field ext-pdp-Address has a value.
|
boolean |
hasExt_pdp_Type()
Tests whether the field ext-pdp-Type has a value.
|
boolean |
hasExt_QoS_Subscribed()
Tests whether the field ext-QoS-Subscribed has a value.
|
boolean |
hasExt2_QoS_Subscribed()
Tests whether the field ext2-QoS-Subscribed has a value.
|
boolean |
hasExt3_QoS_Subscribed()
Tests whether the field ext3-QoS-Subscribed has a value.
|
boolean |
hasExt4_QoS_Subscribed()
Tests whether the field ext4-QoS-Subscribed has a value.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasPdp_Address()
Tests whether the field pdp-Address has a value.
|
boolean |
hasPdp_ChargingCharacteristics()
Tests whether the field pdp-ChargingCharacteristics has a value.
|
boolean |
hasPdp_ContextId()
Tests whether the field pdp-ContextId has a value.
|
boolean |
hasPdp_Type()
Tests whether the field pdp-Type has a value.
|
boolean |
hasQos_Subscribed()
Tests whether the field qos-Subscribed has a value.
|
boolean |
hasSipto_Permission()
Tests whether the field sipto-Permission has a value.
|
boolean |
hasVplmnAddressAllowed()
Tests whether the field vplmnAddressAllowed is present.
|
MAPPDP_Context |
setApn_oi_Replacement(AccessPointNameOperatorId value)
Sets the value of the field apn-oi-Replacement.
|
MAPPDP_Context |
setApn(AccessPointName value)
Sets the value of the field apn.
|
MAPPDP_Context |
setExt_pdp_Address(byte[] value)
Sets the value of the field ext-pdp-Address.
|
MAPPDP_Context |
setExt_pdp_Type(byte[] value)
Sets the value of the field ext-pdp-Type.
|
MAPPDP_Context |
setExt_QoS_Subscribed(byte[] value)
Sets the value of the field ext-QoS-Subscribed.
|
MAPPDP_Context |
setExt2_QoS_Subscribed(byte[] value)
Sets the value of the field ext2-QoS-Subscribed.
|
MAPPDP_Context |
setExt3_QoS_Subscribed(byte[] value)
Sets the value of the field ext3-QoS-Subscribed.
|
MAPPDP_Context |
setExt4_QoS_Subscribed(byte[] value)
Sets the value of the field ext4-QoS-Subscribed.
|
MAPPDP_Context |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPPDP_Context |
setPdp_Address(byte[] value)
Sets the value of the field pdp-Address.
|
MAPPDP_Context |
setPdp_ChargingCharacteristics(byte[] value)
Sets the value of the field pdp-ChargingCharacteristics.
|
MAPPDP_Context |
setPdp_ContextId(int value)
Sets the value of the field pdp-ContextId and marks the field as present.
|
MAPPDP_Context |
setPdp_Type(byte[] value)
Sets the value of the field pdp-Type.
|
MAPPDP_Context |
setQos_Subscribed(byte[] value)
Sets the value of the field qos-Subscribed.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPPDP_Context |
setSipto_Permission(MAPSIPTO_Permission value)
Sets the value of the field sipto-Permission.
|
MAPPDP_Context |
setVplmnAddressAllowedPresent(boolean flag)
Sets the presence or absence of the optional field vplmnAddressAllowed.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPPDP_Context()
public MAPPDP_Context clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPPDP_Context copyOf(MAPPDP_Context from)
from
- the object from which to copypublic AccessPointName getApn()
public AccessPointNameOperatorId getApn_oi_Replacement()
public byte[] getExt2_QoS_Subscribed()
public byte[] getExt3_QoS_Subscribed()
public byte[] getExt4_QoS_Subscribed()
public byte[] getExt_QoS_Subscribed()
public byte[] getExt_pdp_Address()
public byte[] getExt_pdp_Type()
public MAPExtensionContainer getExtensionContainer()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic byte[] getPdp_Address()
public byte[] getPdp_ChargingCharacteristics()
public int getPdp_ContextId()
public byte[] getPdp_Type()
public byte[] getQos_Subscribed()
public MAPSIPTO_Permission getSipto_Permission()
public boolean hasApn()
public boolean hasApn_oi_Replacement()
public boolean hasExt2_QoS_Subscribed()
public boolean hasExt3_QoS_Subscribed()
public boolean hasExt4_QoS_Subscribed()
public boolean hasExt_QoS_Subscribed()
public boolean hasExt_pdp_Address()
public boolean hasExt_pdp_Type()
public boolean hasExtensionContainer()
public boolean hasPdp_Address()
public boolean hasPdp_ChargingCharacteristics()
public boolean hasPdp_ContextId()
public boolean hasPdp_Type()
public boolean hasQos_Subscribed()
public boolean hasSipto_Permission()
public boolean hasVplmnAddressAllowed()
public MAPPDP_Context setApn(AccessPointName value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setApn_oi_Replacement(AccessPointNameOperatorId value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt2_QoS_Subscribed(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt3_QoS_Subscribed(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt4_QoS_Subscribed(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt_QoS_Subscribed(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt_pdp_Address(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExt_pdp_Type(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setPdp_Address(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setPdp_ChargingCharacteristics(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setPdp_ContextId(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setPdp_Type(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setQos_Subscribed(byte[] value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public MAPPDP_Context setSipto_Permission(MAPSIPTO_Permission value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPPDP_Context setVplmnAddressAllowedPresent(boolean flag) throws IllegalStateException
flag
- either true if the field should be marked as present or false if the field should be marked as absentIllegalStateException
- if this instance has been marked as read-only