Class MAPExt_ForwFeature
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPExt_ForwFeature extends MAPForwardingFeature
API for MAP-MS-DataTypes.Ext-ForwFeature. Generated from the following ASN.1 type definition and the adaptations below.Ext-ForwFeature ::= SEQUENCE { basicService Ext-BasicServiceCode OPTIONAL, ss-Status Ext-SS-Status, forwardedToNumber ISDN-AddressString OPTIONAL, -- When this data type is sent from an HLR which supports CAMEL Phase 2 to a VLR that supports CAMEL Phase 2 the VLR shall not check the format of the number. forwardedToSubaddress ISDN-SubaddressString OPTIONAL, forwardingOptions Ext-ForwOptions OPTIONAL, noReplyConditionTime Ext-NoRepCondTime OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... longForwardedToNumber FTN-AddressString OPTIONAL -- Added in R99. } MAP-MS-DataTypes { Ext-ForwFeature { @parentASN1Type MAP-SS-DataTypes.ForwardingFeature } }Extended in R96.Used in array as field type by
MAPExt_ForwInfo.Used in array as field type by
MAPExt_ForwardingInfoFor_CSE.Used in array as field type by
MAPCallForwardingData.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPExt_ForwFeature()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPExt_ForwFeatureclone()Constructs a copy of this object and everything reachable from it.static MAPExt_ForwFeaturecopyOf(MAPForwardingFeature 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.booleanhasExtensionContainer()Tests whether the field extensionContainer has a value.MAPExt_ForwFeaturesetBasicService(MAPExt_BasicServiceCode value)Sets the value of the field basicService.MAPExt_ForwFeaturesetExtensionContainer(MAPExtensionContainer value)Sets the value of the field extensionContainer.MAPExt_ForwFeaturesetForwardedToNumber(AddressString value)Sets the value of the field forwardedToNumber.MAPExt_ForwFeaturesetForwardedToSubaddress(ISDNSubaddress value)Sets the value of the field forwardedToSubaddress.MAPExt_ForwFeaturesetForwardingOptions(ExtForwOptions value)Sets the value of the field forwardingOptions.MAPExt_ForwFeaturesetLongForwardedToNumber(AddressString value)Sets the value of the field longForwardedToNumber.MAPExt_ForwFeaturesetNoReplyConditionTime(int value)Sets the value of the field noReplyConditionTime.MAPExt_ForwFeaturesetNoReplyConditionTimePresent(boolean flag)Sets the presence or absence of the optional field noReplyConditionTime.voidsetReadOnly()Sets this and all its fields to be immutable.MAPExt_ForwFeaturesetSs_Status(byte[] value)Sets the value of the field ss-Status.-
Methods inherited from class com.opencloud.slee.resources.cgin.map.MAPForwardingFeature
getBasicService, getForwardedToNumber, getForwardedToSubaddress, getForwardingOptions, getLongForwardedToNumber, getNoReplyConditionTime, getSs_Status, hasBasicService, hasForwardedToNumber, hasForwardedToSubaddress, hasForwardingOptions, hasLongForwardedToNumber, hasNoReplyConditionTime, hasSs_Status, setBasicService, setForwardingOptions
-
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 MAPExt_ForwFeature clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Overrides:
clonein classMAPForwardingFeature- Returns:
- copy of object
-
copyOf
public static MAPExt_ForwFeature copyOf(MAPForwardingFeature 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:
- MAPExt_ForwFeature
-
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.- Overrides:
getFieldsMapin classMAPForwardingFeature- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
hasExtensionContainer
public boolean hasExtensionContainer()
Tests whether the field extensionContainer has a value.- Returns:
- whether the field extensionContainer has a value
-
setBasicService
public MAPExt_ForwFeature setBasicService(MAPExt_BasicServiceCode value) throws IllegalStateException
Sets the value of the field basicService. 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
-
setExtensionContainer
public MAPExt_ForwFeature 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
-
setForwardedToNumber
public MAPExt_ForwFeature setForwardedToNumber(AddressString value) throws IllegalStateException
Sets the value of the field forwardedToNumber. If null, marks the field as absent.- Overrides:
setForwardedToNumberin classMAPForwardingFeature- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setForwardedToSubaddress
public MAPExt_ForwFeature setForwardedToSubaddress(ISDNSubaddress value) throws IllegalStateException
Sets the value of the field forwardedToSubaddress. If null, marks the field as absent.- Overrides:
setForwardedToSubaddressin classMAPForwardingFeature- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setForwardingOptions
public MAPExt_ForwFeature setForwardingOptions(ExtForwOptions value) throws IllegalStateException
Sets the value of the field forwardingOptions. 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
-
setLongForwardedToNumber
public MAPExt_ForwFeature setLongForwardedToNumber(AddressString value) throws IllegalStateException
Sets the value of the field longForwardedToNumber. If null, marks the field as absent.- Overrides:
setLongForwardedToNumberin classMAPForwardingFeature- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setNoReplyConditionTime
public MAPExt_ForwFeature setNoReplyConditionTime(int value) throws IllegalStateException
Sets the value of the field noReplyConditionTime. If null, marks the field as absent.- Overrides:
setNoReplyConditionTimein classMAPForwardingFeature- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setNoReplyConditionTimePresent
public MAPExt_ForwFeature setNoReplyConditionTimePresent(boolean flag) throws IllegalStateException
Sets the presence or absence of the optional field noReplyConditionTime.- Overrides:
setNoReplyConditionTimePresentin classMAPForwardingFeature- 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 classMAPForwardingFeature
-
setSs_Status
public MAPExt_ForwFeature setSs_Status(byte[] value) throws IllegalStateException
Sets the value of the field ss-Status.- Overrides:
setSs_Statusin classMAPForwardingFeature- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-