public class MAPRegisterSS_Arg extends AbstractFieldsObject
RegisterSS-Arg ::= SEQUENCE { ss-Code SS-Code, basicService BasicServiceCode OPTIONAL, forwardedToNumber AddressString OPTIONAL, -- forwardedToNumber should be no more than 10 octets if ph1, else 20 octets. forwardedToSubaddress ISDN-SubaddressString OPTIONAL, -- Added in ph2. noReplyConditionTime NoReplyConditionTime OPTIONAL, ... defaultPriority EMLPP-Priority OPTIONAL, -- Added in ph2. nbrUser MC-Bearers OPTIONAL, -- Added in R99. longFTN-Supported NULL OPTIONAL -- Added in R99. }Present in ph1. Renamed from RegisterSSArg between ph1 and ph2.
Used as argument type by MAPOperations.registerSS_v1
.
Used as argument type by MAPOperations.registerSS
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPRegisterSS_Arg()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPRegisterSS_Arg |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPRegisterSS_Arg |
copyOf(MAPRegisterSS_Arg 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.
|
int |
getDefaultPriority()
Gets the value of the field defaultPriority.
|
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.
|
int |
getNbrUser()
Gets the value of the field nbrUser.
|
int |
getNoReplyConditionTime()
Gets the value of the field noReplyConditionTime.
|
SSCode |
getSs_Code()
Gets the value of the field ss-Code.
|
boolean |
hasBasicService()
Tests whether the field basicService has a value.
|
boolean |
hasDefaultPriority()
Tests whether the field defaultPriority has a value.
|
boolean |
hasForwardedToNumber()
Tests whether the field forwardedToNumber has a value.
|
boolean |
hasForwardedToSubaddress()
Tests whether the field forwardedToSubaddress has a value.
|
boolean |
hasLongFTN_Supported()
Tests whether the field longFTN-Supported is present.
|
boolean |
hasNbrUser()
Tests whether the field nbrUser has a value.
|
boolean |
hasNoReplyConditionTime()
Tests whether the field noReplyConditionTime has a value.
|
boolean |
hasSs_Code()
Tests whether the field ss-Code has a value.
|
MAPRegisterSS_Arg |
setBasicService(MAPBasicServiceCode value)
Sets the value of the field basicService.
|
MAPRegisterSS_Arg |
setDefaultPriority(int value)
Sets the value of the field defaultPriority and marks the field as present.
|
MAPRegisterSS_Arg |
setDefaultPriorityPresent(boolean flag)
Sets the presence or absence of the optional field defaultPriority.
|
MAPRegisterSS_Arg |
setForwardedToNumber(AddressString value)
Sets the value of the field forwardedToNumber.
|
MAPRegisterSS_Arg |
setForwardedToSubaddress(ISDNSubaddress value)
Sets the value of the field forwardedToSubaddress.
|
MAPRegisterSS_Arg |
setLongFTN_SupportedPresent(boolean flag)
Sets the presence or absence of the optional field longFTN-Supported.
|
MAPRegisterSS_Arg |
setNbrUser(int value)
Sets the value of the field nbrUser and marks the field as present.
|
MAPRegisterSS_Arg |
setNbrUserPresent(boolean flag)
Sets the presence or absence of the optional field nbrUser.
|
MAPRegisterSS_Arg |
setNoReplyConditionTime(int value)
Sets the value of the field noReplyConditionTime and marks the field as present.
|
MAPRegisterSS_Arg |
setNoReplyConditionTimePresent(boolean flag)
Sets the presence or absence of the optional field noReplyConditionTime.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
MAPRegisterSS_Arg |
setSs_Code(SSCode value)
Sets the value of the field ss-Code.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPRegisterSS_Arg()
public MAPRegisterSS_Arg clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPRegisterSS_Arg copyOf(MAPRegisterSS_Arg from)
from
- the object from which to copypublic MAPBasicServiceCode getBasicService()
public int getDefaultPriority()
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 int getNbrUser()
public int getNoReplyConditionTime()
public SSCode getSs_Code()
public boolean hasBasicService()
public boolean hasDefaultPriority()
public boolean hasForwardedToNumber()
public boolean hasForwardedToSubaddress()
public boolean hasLongFTN_Supported()
public boolean hasNbrUser()
public boolean hasNoReplyConditionTime()
public boolean hasSs_Code()
public MAPRegisterSS_Arg setBasicService(MAPBasicServiceCode value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg setDefaultPriority(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg setDefaultPriorityPresent(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 MAPRegisterSS_Arg setForwardedToNumber(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg setForwardedToSubaddress(ISDNSubaddress value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg setLongFTN_SupportedPresent(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 MAPRegisterSS_Arg setNbrUser(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg setNbrUserPresent(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 MAPRegisterSS_Arg setNoReplyConditionTime(int value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRegisterSS_Arg 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 DataObject
setReadOnly
in class AbstractDataObject
public MAPRegisterSS_Arg setSs_Code(SSCode value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-only