public class MAPForwardingFeature extends AbstractFieldsObject
ForwardingFeature ::=
SEQUENCE {
basicService BasicServiceCode OPTIONAL,
ss-Status SS-Status OPTIONAL, -- Changed from mandatory to optional between ph1 and ph2.
forwardedToNumber ISDN-AddressString OPTIONAL,
forwardedToSubaddress ISDN-SubaddressString OPTIONAL,
forwardingOptions ForwardingOptions OPTIONAL,
noReplyConditionTime NoReplyConditionTime OPTIONAL,
...
longForwardedToNumber FTN-AddressString OPTIONAL -- Added in R99.
}
Present in ph1.
Used in array as field type by MAPForwardingInfo.
Used in array as field type by MAPInterrogateSSRes_v1.
Used in array as field type by MAPInterrogateSS_Res.
FIELD_ABSENT, FIELD_UNINITIALISED| Constructor and Description |
|---|
MAPForwardingFeature()
Constructs an object with uninitialised state.
|
| Modifier and Type | Method and Description |
|---|---|
MAPForwardingFeature |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPForwardingFeature |
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.
|
MAPBasicServiceCode |
getBasicService()
Gets the value of the field basicService.
|
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.
|
int |
getNoReplyConditionTime()
Gets the value of the field noReplyConditionTime.
|
byte[] |
getSs_Status()
Gets the value of the field ss-Status.
|
boolean |
hasBasicService()
Tests whether the field basicService 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.
|
boolean |
hasNoReplyConditionTime()
Tests whether the field noReplyConditionTime has a value.
|
boolean |
hasSs_Status()
Tests whether the field ss-Status has a value.
|
MAPForwardingFeature |
setBasicService(MAPBasicServiceCode value)
Sets the value of the field basicService.
|
MAPForwardingFeature |
setForwardedToNumber(AddressString value)
Sets the value of the field forwardedToNumber.
|
MAPForwardingFeature |
setForwardedToSubaddress(ISDNSubaddress value)
Sets the value of the field forwardedToSubaddress.
|
MAPForwardingFeature |
setForwardingOptions(ForwardingOptions value)
Sets the value of the field forwardingOptions.
|
MAPForwardingFeature |
setLongForwardedToNumber(AddressString value)
Sets the value of the field longForwardedToNumber.
|
MAPForwardingFeature |
setNoReplyConditionTime(int value)
Sets the value of the field noReplyConditionTime and marks the field as present.
|
MAPForwardingFeature |
setNoReplyConditionTimePresent(boolean flag)
Sets the presence or absence of the optional field noReplyConditionTime.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPForwardingFeature |
setSs_Status(byte[] value)
Sets the value of the field ss-Status.
|
equals, hashCode, toStringcheckModify, isReadOnlypublic MAPForwardingFeature()
public MAPForwardingFeature clone()
clone in interface DataObjectclone in class AbstractDataObjectpublic static MAPForwardingFeature copyOf(MAPForwardingFeature from)
from - the object from which to copypublic MAPBasicServiceCode getBasicService()
public static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap in class AbstractFieldsObjectwithAbsents - whether to put absent optional fields into Mappublic AddressString getForwardedToNumber()
public ISDNSubaddress getForwardedToSubaddress()
public ForwardingOptions getForwardingOptions()
public AddressString getLongForwardedToNumber()
public int getNoReplyConditionTime()
public byte[] getSs_Status()
public boolean hasBasicService()
public boolean hasForwardedToNumber()
public boolean hasForwardedToSubaddress()
public boolean hasForwardingOptions()
public boolean hasLongForwardedToNumber()
public boolean hasNoReplyConditionTime()
public boolean hasSs_Status()
public MAPForwardingFeature setBasicService(MAPBasicServiceCode value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setForwardedToNumber(AddressString value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setForwardedToSubaddress(ISDNSubaddress value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setForwardingOptions(ForwardingOptions value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setLongForwardedToNumber(AddressString value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setNoReplyConditionTime(int value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-onlypublic MAPForwardingFeature setNoReplyConditionTimePresent(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 DataObjectsetReadOnly in class AbstractDataObjectpublic MAPForwardingFeature setSs_Status(byte[] value) throws IllegalStateException
value - the new value for the fieldIllegalStateException - if this instance has been marked as read-only