Class MAPPDN_GW_Identity
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPPDN_GW_Identity
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPPDN_GW_Identity extends AbstractFieldsObject
API for MAP-MS-DataTypes.PDN-GW-Identity. Generated from the following ASN.1 type definition.PDN-GW-Identity ::= SEQUENCE { pdn-gw-ipv4-Address PDP-Address OPTIONAL, pdn-gw-ipv6-Address PDP-Address OPTIONAL, pdn-gw-name FQDN OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in release 8.Used as field type by
MAPAPN_Configuration.Used as field type by
MAPSpecificAPNInfo.Used as field type by
MAPPDN_GW_Update.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPPDN_GW_Identity()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPDN_GW_Identityclone()Constructs a copy of this object and everything reachable from it.static MAPPDN_GW_IdentitycopyOf(MAPPDN_GW_Identity 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.MAPExtensionContainergetExtensionContainer()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[]getPdn_gw_ipv4_Address()Gets the value of the field pdn-gw-ipv4-Address.byte[]getPdn_gw_ipv6_Address()Gets the value of the field pdn-gw-ipv6-Address.byte[]getPdn_gw_name()Gets the value of the field pdn-gw-name.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasPdn_gw_ipv4_Address()Tests whether the field pdn-gw-ipv4-Address has a value.booleanhasPdn_gw_ipv6_Address()Tests whether the field pdn-gw-ipv6-Address has a value.booleanhasPdn_gw_name()Tests whether the field pdn-gw-name has a value.MAPPDN_GW_IdentitysetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPPDN_GW_IdentitysetPdn_gw_ipv4_Address(byte[] value)Sets the value of the field pdn-gw-ipv4-Address.MAPPDN_GW_IdentitysetPdn_gw_ipv6_Address(byte[] value)Sets the value of the field pdn-gw-ipv6-Address.MAPPDN_GW_IdentitysetPdn_gw_name(byte[] value)Sets the value of the field pdn-gw-name.voidsetReadOnly()Sets this and all its fields to be immutable.-
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 MAPPDN_GW_Identity clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPPDN_GW_Identity copyOf(MAPPDN_GW_Identity 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:
- MAPPDN_GW_Identity
-
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:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getPdn_gw_ipv4_Address
public byte[] getPdn_gw_ipv4_Address()
Gets the value of the field pdn-gw-ipv4-Address.- Returns:
- value of field pdn-gw-ipv4-Address, or null if not present
-
getPdn_gw_ipv6_Address
public byte[] getPdn_gw_ipv6_Address()
Gets the value of the field pdn-gw-ipv6-Address.- Returns:
- value of field pdn-gw-ipv6-Address, or null if not present
-
getPdn_gw_name
public byte[] getPdn_gw_name()
Gets the value of the field pdn-gw-name.- Returns:
- value of field pdn-gw-name, or null if not present
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
hasPdn_gw_ipv4_Address
public boolean hasPdn_gw_ipv4_Address()
Tests whether the field pdn-gw-ipv4-Address has a value.- Returns:
- whether the field pdn-gw-ipv4-Address has a value
-
hasPdn_gw_ipv6_Address
public boolean hasPdn_gw_ipv6_Address()
Tests whether the field pdn-gw-ipv6-Address has a value.- Returns:
- whether the field pdn-gw-ipv6-Address has a value
-
hasPdn_gw_name
public boolean hasPdn_gw_name()
Tests whether the field pdn-gw-name has a value.- Returns:
- whether the field pdn-gw-name has a value
-
setExtensionContainer
public MAPPDN_GW_Identity 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_gw_ipv4_Address
public MAPPDN_GW_Identity setPdn_gw_ipv4_Address(byte[] value) throws IllegalStateException
Sets the value of the field pdn-gw-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
-
setPdn_gw_ipv6_Address
public MAPPDN_GW_Identity setPdn_gw_ipv6_Address(byte[] value) throws IllegalStateException
Sets the value of the field pdn-gw-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
-
setPdn_gw_name
public MAPPDN_GW_Identity setPdn_gw_name(byte[] value) throws IllegalStateException
Sets the value of the field pdn-gw-name. 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
-