public class MAPForwardingData extends AbstractFieldsObject
ForwardingData ::= SEQUENCE { forwardedToNumber ISDN-AddressString OPTIONAL, -- Changed from mandatory to optional between ph1 and ph2. When this datatype is sent from an HLR which supports CAMEL Phase 2 to a GMSC which supports CAMEL Phase 2 the GMSC shall not check the format of the number. forwardedToSubaddress ISDN-SubaddressString OPTIONAL, -- Added in ph2. forwardingOptions ForwardingOptions OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... longForwardedToNumber FTN-AddressString OPTIONAL -- Added in R99. }Present in ph1. Moved from MAP-SS-DataTypes between ph2 and R96.
Used as field type by MAPRoutingInfo
.
Used as field type by MAPCamelRoutingInfo
.
Used as field type by MAPResumeCallHandlingArg
.
Used as field type by MAPSendRoutingInfoForSMRes.LocationOrForwarding
.
Used as field type by MAPSendRoutingInformationRes.RoutingInfo
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPForwardingData()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPForwardingData |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPForwardingData |
copyOf(MAPForwardingData 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.
|
AddressString |
getForwardedToNumber()
Gets the value of the field forwardedToNumber.
|
ISDNSubaddress |
getForwardedToSubaddress()
Gets the value of the field forwardedToSubaddress.
|
ForwardingOptions |
getForwardingOptions()
Gets the value of the field forwardingOptions.
|
AddressString |
getLongForwardedToNumber()
Gets the value of the field longForwardedToNumber.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasForwardedToNumber()
Tests whether the field forwardedToNumber has a value.
|
boolean |
hasForwardedToSubaddress()
Tests whether the field forwardedToSubaddress has a value.
|
boolean |
hasForwardingOptions()
Tests whether the field forwardingOptions has a value.
|
boolean |
hasLongForwardedToNumber()
Tests whether the field longForwardedToNumber has a value.
|
MAPForwardingData |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPForwardingData |
setForwardedToNumber(AddressString value)
Sets the value of the field forwardedToNumber.
|
MAPForwardingData |
setForwardedToSubaddress(ISDNSubaddress value)
Sets the value of the field forwardedToSubaddress.
|
MAPForwardingData |
setForwardingOptions(ForwardingOptions value)
Sets the value of the field forwardingOptions.
|
MAPForwardingData |
setLongForwardedToNumber(AddressString value)
Sets the value of the field longForwardedToNumber.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPForwardingData()
public MAPForwardingData clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPForwardingData copyOf(MAPForwardingData 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 AddressString getForwardedToNumber()
public ISDNSubaddress getForwardedToSubaddress()
public ForwardingOptions getForwardingOptions()
public AddressString getLongForwardedToNumber()
public boolean hasExtensionContainer()
public boolean hasForwardedToNumber()
public boolean hasForwardedToSubaddress()
public boolean hasForwardingOptions()
public boolean hasLongForwardedToNumber()
public MAPForwardingData setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPForwardingData setForwardedToNumber(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPForwardingData setForwardedToSubaddress(ISDNSubaddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPForwardingData setForwardingOptions(ForwardingOptions value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPForwardingData setLongForwardedToNumber(AddressString 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