Class MAPAPN_Configuration
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPAPN_Configuration
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPAPN_Configuration extends AbstractFieldsObject
API for MAP-MS-DataTypes.APN-Configuration. Generated from the following ASN.1 type definition.APN-Configuration ::= SEQUENCE { contextId ContextId, pdn-Type PDN-Type, servedPartyIP-IPv4-Address PDP-Address OPTIONAL, apn APN, eps-qos-Subscribed EPS-QoS-Subscribed, pdn-gw-Identity PDN-GW-Identity OPTIONAL, pdn-gw-AllocationType PDN-GW-AllocationType OPTIONAL, vplmnAddressAllowed NULL OPTIONAL, chargingCharacteristics ChargingCharacteristics OPTIONAL, ambr AMBR OPTIONAL, specificAPNInfoList SpecificAPNInfoList OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, servedPartyIP-IPv6-Address PDP-Address OPTIONAL, -- Added in release 9. ... apn-oi-Replacement APN-OI-Replacement OPTIONAL, -- Added in release 9. This apn-oi-Replacement refers to the APN level apn-oi-Replacement. sipto-Permission SIPTO-Permission OPTIONAL -- Added in release 10. }
Added in release 8.Used in array as field type by
MAPAPN_ConfigurationProfile
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPAPN_Configuration()
Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPAPN_Configuration
clone()
Constructs a copy of this object and everything reachable from it.static MAPAPN_Configuration
copyOf(MAPAPN_Configuration 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.MAPAMBR
getAmbr()
Gets the value of the field ambr.AccessPointName
getApn()
Gets the value of the field apn.AccessPointNameOperatorId
getApn_oi_Replacement()
Gets the value of the field apn-oi-Replacement.byte[]
getChargingCharacteristics()
Gets the value of the field chargingCharacteristics.int
getContextId()
Gets the value of the field contextId.MAPEPS_QoS_Subscribed
getEps_qos_Subscribed()
Gets the value of the field eps-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.MAPPDN_GW_AllocationType
getPdn_gw_AllocationType()
Gets the value of the field pdn-gw-AllocationType.MAPPDN_GW_Identity
getPdn_gw_Identity()
Gets the value of the field pdn-gw-Identity.byte[]
getPdn_Type()
Gets the value of the field pdn-Type.byte[]
getServedPartyIP_IPv4_Address()
Gets the value of the field servedPartyIP-IPv4-Address.byte[]
getServedPartyIP_IPv6_Address()
Gets the value of the field servedPartyIP-IPv6-Address.MAPSIPTO_Permission
getSipto_Permission()
Gets the value of the field sipto-Permission.MAPSpecificAPNInfo[]
getSpecificAPNInfoList()
Gets the value of the field specificAPNInfoList.boolean
hasAmbr()
Tests whether the field ambr has a value.boolean
hasApn()
Tests whether the field apn has a value.boolean
hasApn_oi_Replacement()
Tests whether the field apn-oi-Replacement has a value.boolean
hasChargingCharacteristics()
Tests whether the field chargingCharacteristics has a value.boolean
hasContextId()
Tests whether the field contextId has a value.boolean
hasEps_qos_Subscribed()
Tests whether the field eps-qos-Subscribed has a value.boolean
hasExtensionContainer()
Tests whether the field extensionContainer has a value.boolean
hasPdn_gw_AllocationType()
Tests whether the field pdn-gw-AllocationType has a value.boolean
hasPdn_gw_Identity()
Tests whether the field pdn-gw-Identity has a value.boolean
hasPdn_Type()
Tests whether the field pdn-Type has a value.boolean
hasServedPartyIP_IPv4_Address()
Tests whether the field servedPartyIP-IPv4-Address has a value.boolean
hasServedPartyIP_IPv6_Address()
Tests whether the field servedPartyIP-IPv6-Address has a value.boolean
hasSipto_Permission()
Tests whether the field sipto-Permission has a value.boolean
hasSpecificAPNInfoList()
Tests whether the field specificAPNInfoList has a value.boolean
hasVplmnAddressAllowed()
Tests whether the field vplmnAddressAllowed is present.MAPAPN_Configuration
setAmbr(MAPAMBR value)
Sets the value of the field ambr.MAPAPN_Configuration
setApn(AccessPointName value)
Sets the value of the field apn.MAPAPN_Configuration
setApn_oi_Replacement(AccessPointNameOperatorId value)
Sets the value of the field apn-oi-Replacement.MAPAPN_Configuration
setChargingCharacteristics(byte[] value)
Sets the value of the field chargingCharacteristics.MAPAPN_Configuration
setContextId(int value)
Sets the value of the field contextId and marks the field as present.MAPAPN_Configuration
setEps_qos_Subscribed(MAPEPS_QoS_Subscribed value)
Sets the value of the field eps-qos-Subscribed.MAPAPN_Configuration
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.MAPAPN_Configuration
setPdn_gw_AllocationType(MAPPDN_GW_AllocationType value)
Sets the value of the field pdn-gw-AllocationType.MAPAPN_Configuration
setPdn_gw_Identity(MAPPDN_GW_Identity value)
Sets the value of the field pdn-gw-Identity.MAPAPN_Configuration
setPdn_Type(byte[] value)
Sets the value of the field pdn-Type.void
setReadOnly()
Sets this and all its fields to be immutable.MAPAPN_Configuration
setServedPartyIP_IPv4_Address(byte[] value)
Sets the value of the field servedPartyIP-IPv4-Address.MAPAPN_Configuration
setServedPartyIP_IPv6_Address(byte[] value)
Sets the value of the field servedPartyIP-IPv6-Address.MAPAPN_Configuration
setSipto_Permission(MAPSIPTO_Permission value)
Sets the value of the field sipto-Permission.MAPAPN_Configuration
setSpecificAPNInfoList(MAPSpecificAPNInfo[] value)
Sets the value of the field specificAPNInfoList.MAPAPN_Configuration
setVplmnAddressAllowedPresent(boolean flag)
Sets the presence or absence of the optional field vplmnAddressAllowed.-
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 MAPAPN_Configuration 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 MAPAPN_Configuration copyOf(MAPAPN_Configuration 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:
- MAPAPN_Configuration
-
getAmbr
public MAPAMBR getAmbr()
Gets the value of the field ambr.- Returns:
- value of field ambr, or null if not present
-
getApn
public AccessPointName getApn()
Gets the value of the field apn.- Returns:
- value of field apn, or null if not present
-
getApn_oi_Replacement
public AccessPointNameOperatorId getApn_oi_Replacement()
Gets the value of the field apn-oi-Replacement.- Returns:
- value of field apn-oi-Replacement, or null if not present
-
getChargingCharacteristics
public byte[] getChargingCharacteristics()
Gets the value of the field chargingCharacteristics.- Returns:
- value of field chargingCharacteristics, or null if not present
-
getContextId
public int getContextId()
Gets the value of the field contextId.- Returns:
- value of field contextId
-
getEps_qos_Subscribed
public MAPEPS_QoS_Subscribed getEps_qos_Subscribed()
Gets the value of the field eps-qos-Subscribed.- Returns:
- value of field eps-qos-Subscribed, or null if not present
-
getExtensionContainer
public MAPExtensionContainer getExtensionContainer()
Gets the value of the field extensionContainer.- Returns:
- value of field extensionContainer, 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
-
getPdn_Type
public byte[] getPdn_Type()
Gets the value of the field pdn-Type.- Returns:
- value of field pdn-Type, or null if not present
-
getPdn_gw_AllocationType
public MAPPDN_GW_AllocationType getPdn_gw_AllocationType()
Gets the value of the field pdn-gw-AllocationType.- Returns:
- value of field pdn-gw-AllocationType, or null if not present
-
getPdn_gw_Identity
public MAPPDN_GW_Identity getPdn_gw_Identity()
Gets the value of the field pdn-gw-Identity.- Returns:
- value of field pdn-gw-Identity, or null if not present
-
getServedPartyIP_IPv4_Address
public byte[] getServedPartyIP_IPv4_Address()
Gets the value of the field servedPartyIP-IPv4-Address.- Returns:
- value of field servedPartyIP-IPv4-Address, or null if not present
-
getServedPartyIP_IPv6_Address
public byte[] getServedPartyIP_IPv6_Address()
Gets the value of the field servedPartyIP-IPv6-Address.- Returns:
- value of field servedPartyIP-IPv6-Address, or null if not present
-
getSipto_Permission
public MAPSIPTO_Permission getSipto_Permission()
Gets the value of the field sipto-Permission.- Returns:
- value of field sipto-Permission, or null if not present
-
getSpecificAPNInfoList
public MAPSpecificAPNInfo[] getSpecificAPNInfoList()
Gets the value of the field specificAPNInfoList.- Returns:
- value of field specificAPNInfoList, or null if not present
-
hasAmbr
public boolean hasAmbr()
Tests whether the field ambr has a value.- Returns:
- whether the field ambr has a value
-
hasApn
public boolean hasApn()
Tests whether the field apn has a value.- Returns:
- whether the field apn has a value
-
hasApn_oi_Replacement
public boolean hasApn_oi_Replacement()
Tests whether the field apn-oi-Replacement has a value.- Returns:
- whether the field apn-oi-Replacement has a value
-
hasChargingCharacteristics
public boolean hasChargingCharacteristics()
Tests whether the field chargingCharacteristics has a value.- Returns:
- whether the field chargingCharacteristics has a value
-
hasContextId
public boolean hasContextId()
Tests whether the field contextId has a value.- Returns:
- whether the field contextId has a value
-
hasEps_qos_Subscribed
public boolean hasEps_qos_Subscribed()
Tests whether the field eps-qos-Subscribed has a value.- Returns:
- whether the field eps-qos-Subscribed has a value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasPdn_Type
public boolean hasPdn_Type()
Tests whether the field pdn-Type has a value.- Returns:
- whether the field pdn-Type has a value
-
hasPdn_gw_AllocationType
public boolean hasPdn_gw_AllocationType()
Tests whether the field pdn-gw-AllocationType has a value.- Returns:
- whether the field pdn-gw-AllocationType has a value
-
hasPdn_gw_Identity
public boolean hasPdn_gw_Identity()
Tests whether the field pdn-gw-Identity has a value.- Returns:
- whether the field pdn-gw-Identity has a value
-
hasServedPartyIP_IPv4_Address
public boolean hasServedPartyIP_IPv4_Address()
Tests whether the field servedPartyIP-IPv4-Address has a value.- Returns:
- whether the field servedPartyIP-IPv4-Address has a value
-
hasServedPartyIP_IPv6_Address
public boolean hasServedPartyIP_IPv6_Address()
Tests whether the field servedPartyIP-IPv6-Address has a value.- Returns:
- whether the field servedPartyIP-IPv6-Address has a value
-
hasSipto_Permission
public boolean hasSipto_Permission()
Tests whether the field sipto-Permission has a value.- Returns:
- whether the field sipto-Permission has a value
-
hasSpecificAPNInfoList
public boolean hasSpecificAPNInfoList()
Tests whether the field specificAPNInfoList has a value.- Returns:
- whether the field specificAPNInfoList has a value
-
hasVplmnAddressAllowed
public boolean hasVplmnAddressAllowed()
Tests whether the field vplmnAddressAllowed is present.- Returns:
- whether the field vplmnAddressAllowed is present
-
setAmbr
public MAPAPN_Configuration setAmbr(MAPAMBR value) throws IllegalStateException
Sets the value of the field ambr. 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
-
setApn
public MAPAPN_Configuration setApn(AccessPointName value) throws IllegalStateException
Sets the value of the field apn.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setApn_oi_Replacement
public MAPAPN_Configuration setApn_oi_Replacement(AccessPointNameOperatorId value) throws IllegalStateException
Sets the value of the field apn-oi-Replacement. 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
-
setChargingCharacteristics
public MAPAPN_Configuration setChargingCharacteristics(byte[] value) throws IllegalStateException
Sets the value of the field chargingCharacteristics. 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
-
setContextId
public MAPAPN_Configuration setContextId(int value) throws IllegalStateException
Sets the value of the field contextId and marks the field as present.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setEps_qos_Subscribed
public MAPAPN_Configuration setEps_qos_Subscribed(MAPEPS_QoS_Subscribed value) throws IllegalStateException
Sets the value of the field eps-qos-Subscribed.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setExtensionContainer
public MAPAPN_Configuration setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
Sets the value of the field extensionContainer. 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
-
setPdn_Type
public MAPAPN_Configuration setPdn_Type(byte[] value) throws IllegalStateException
Sets the value of the field pdn-Type.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setPdn_gw_AllocationType
public MAPAPN_Configuration setPdn_gw_AllocationType(MAPPDN_GW_AllocationType value) throws IllegalStateException
Sets the value of the field pdn-gw-AllocationType. 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
-
setPdn_gw_Identity
public MAPAPN_Configuration setPdn_gw_Identity(MAPPDN_GW_Identity value) throws IllegalStateException
Sets the value of the field pdn-gw-Identity. 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
-
setServedPartyIP_IPv4_Address
public MAPAPN_Configuration setServedPartyIP_IPv4_Address(byte[] value) throws IllegalStateException
Sets the value of the field servedPartyIP-IPv4-Address. 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
-
setServedPartyIP_IPv6_Address
public MAPAPN_Configuration setServedPartyIP_IPv6_Address(byte[] value) throws IllegalStateException
Sets the value of the field servedPartyIP-IPv6-Address. 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
-
setSipto_Permission
public MAPAPN_Configuration setSipto_Permission(MAPSIPTO_Permission value) throws IllegalStateException
Sets the value of the field sipto-Permission. 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
-
setSpecificAPNInfoList
public MAPAPN_Configuration setSpecificAPNInfoList(MAPSpecificAPNInfo[] value) throws IllegalStateException
Sets the value of the field specificAPNInfoList. 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
-
setVplmnAddressAllowedPresent
public MAPAPN_Configuration setVplmnAddressAllowedPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field vplmnAddressAllowed.- 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
-
-