Class MAPSendRoutingInfoForGprsRes
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPSendRoutingInfoForGprsRes
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPSendRoutingInfoForGprsRes extends AbstractFieldsObject
API for MAP-MS-DataTypes.SendRoutingInfoForGprsRes. Generated from the following ASN.1 type definition.SendRoutingInfoForGprsRes ::= SEQUENCE { sgsn-Address GSN-Address, ggsn-Address GSN-Address OPTIONAL, mobileNotReachableReason AbsentSubscriberDiagnosticSM OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, ... }Added in R97.Used as result type by
MAPOperations.sendRoutingInfoForGprs.Used as result type by
MAPOperations.sendRoutingInfoForGprs_v4.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPSendRoutingInfoForGprsRes()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPSendRoutingInfoForGprsResclone()Constructs a copy of this object and everything reachable from it.static MAPSendRoutingInfoForGprsRescopyOf(MAPSendRoutingInfoForGprsRes 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.GSNAddressgetGgsn_Address()Gets the value of the field ggsn-Address.intgetMobileNotReachableReason()Gets the value of the field mobileNotReachableReason.GSNAddressgetSgsn_Address()Gets the value of the field sgsn-Address.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.booleanhasGgsn_Address()Tests whether the field ggsn-Address has a value.booleanhasMobileNotReachableReason()Tests whether the field mobileNotReachableReason has a value.booleanhasSgsn_Address()Tests whether the field sgsn-Address has a value.MAPSendRoutingInfoForGprsRessetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPSendRoutingInfoForGprsRessetGgsn_Address(GSNAddress value)Sets the value of the field ggsn-Address.MAPSendRoutingInfoForGprsRessetMobileNotReachableReason(int value)Sets the value of the field mobileNotReachableReason and marks the field as present.MAPSendRoutingInfoForGprsRessetMobileNotReachableReasonPresent(boolean flag)Sets the presence or absence of the optional field mobileNotReachableReason.voidsetReadOnly()Sets this and all its fields to be immutable.MAPSendRoutingInfoForGprsRessetSgsn_Address(GSNAddress value)Sets the value of the field sgsn-Address.-
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 MAPSendRoutingInfoForGprsRes 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 MAPSendRoutingInfoForGprsRes copyOf(MAPSendRoutingInfoForGprsRes 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:
- MAPSendRoutingInfoForGprsRes
-
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
-
getGgsn_Address
public GSNAddress getGgsn_Address()
Gets the value of the field ggsn-Address.- Returns:
- value of field ggsn-Address, or null if not present
-
getMobileNotReachableReason
public int getMobileNotReachableReason()
Gets the value of the field mobileNotReachableReason.- Returns:
- value of field mobileNotReachableReason
-
getSgsn_Address
public GSNAddress getSgsn_Address()
Gets the value of the field sgsn-Address.- Returns:
- value of field sgsn-Address, 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
-
hasGgsn_Address
public boolean hasGgsn_Address()
Tests whether the field ggsn-Address has a value.- Returns:
- whether the field ggsn-Address has a value
-
hasMobileNotReachableReason
public boolean hasMobileNotReachableReason()
Tests whether the field mobileNotReachableReason has a value.- Returns:
- whether the field mobileNotReachableReason has a value
-
hasSgsn_Address
public boolean hasSgsn_Address()
Tests whether the field sgsn-Address has a value.- Returns:
- whether the field sgsn-Address has a value
-
setExtensionContainer
public MAPSendRoutingInfoForGprsRes 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
-
setGgsn_Address
public MAPSendRoutingInfoForGprsRes setGgsn_Address(GSNAddress value) throws IllegalStateException
Sets the value of the field ggsn-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
-
setMobileNotReachableReason
public MAPSendRoutingInfoForGprsRes setMobileNotReachableReason(int value) throws IllegalStateException
Sets the value of the field mobileNotReachableReason 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
-
setMobileNotReachableReasonPresent
public MAPSendRoutingInfoForGprsRes setMobileNotReachableReasonPresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field mobileNotReachableReason.- 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
-
setReadOnly
public void setReadOnly()
Sets this and all its fields to be immutable.- Specified by:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setSgsn_Address
public MAPSendRoutingInfoForGprsRes setSgsn_Address(GSNAddress value) throws IllegalStateException
Sets the value of the field sgsn-Address.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-