public class MAPSendRoutingInfoForGprsRes extends AbstractFieldsObject
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
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPSendRoutingInfoForGprsRes()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPSendRoutingInfoForGprsRes |
clone()
Constructs a copy of this object and everything reachable from it.
|
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.
|
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.
|
GSNAddress |
getGgsn_Address()
Gets the value of the field ggsn-Address.
|
int |
getMobileNotReachableReason()
Gets the value of the field mobileNotReachableReason.
|
GSNAddress |
getSgsn_Address()
Gets the value of the field sgsn-Address.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasGgsn_Address()
Tests whether the field ggsn-Address has a value.
|
boolean |
hasMobileNotReachableReason()
Tests whether the field mobileNotReachableReason has a value.
|
boolean |
hasSgsn_Address()
Tests whether the field sgsn-Address has a value.
|
MAPSendRoutingInfoForGprsRes |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPSendRoutingInfoForGprsRes |
setGgsn_Address(GSNAddress value)
Sets the value of the field ggsn-Address.
|
MAPSendRoutingInfoForGprsRes |
setMobileNotReachableReason(int value)
Sets the value of the field mobileNotReachableReason and marks the field as present.
|
MAPSendRoutingInfoForGprsRes |
setMobileNotReachableReasonPresent(boolean flag)
Sets the presence or absence of the optional field mobileNotReachableReason.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPSendRoutingInfoForGprsRes |
setSgsn_Address(GSNAddress value)
Sets the value of the field sgsn-Address.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPSendRoutingInfoForGprsRes()
public MAPSendRoutingInfoForGprsRes clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPSendRoutingInfoForGprsRes copyOf(MAPSendRoutingInfoForGprsRes from)
from
- the object from which to copypublic 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 GSNAddress getGgsn_Address()
public int getMobileNotReachableReason()
public GSNAddress getSgsn_Address()
public boolean hasExtensionContainer()
public boolean hasGgsn_Address()
public boolean hasMobileNotReachableReason()
public boolean hasSgsn_Address()
public MAPSendRoutingInfoForGprsRes setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForGprsRes setGgsn_Address(GSNAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForGprsRes setMobileNotReachableReason(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPSendRoutingInfoForGprsRes setMobileNotReachableReasonPresent(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-onlypublic void setReadOnly()
setReadOnly
in interface DataObject
setReadOnly
in class AbstractDataObject
public MAPSendRoutingInfoForGprsRes setSgsn_Address(GSNAddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only