public class MAPRelocationNumber extends AbstractFieldsObject
RelocationNumber ::= SEQUENCE { handoverNumber ISDN-AddressString, rab-Id RAB-Id, -- RAB Identity is needed to relate the calls with the radio access bearers. ... }Added in R99.
Used in array as field type by MAPPrepareHO_Res_v3
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPRelocationNumber()
Constructs an object with uninitialised state.
|
MAPRelocationNumber(AddressString HandoverNumber_param,
int Rab_Id_param)
Constructs an object from given values for all fields.
|
Modifier and Type | Method and Description |
---|---|
MAPRelocationNumber |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPRelocationNumber |
copyOf(MAPRelocationNumber 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.
|
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 |
getHandoverNumber()
Gets the value of the field handoverNumber.
|
int |
getRab_Id()
Gets the value of the field rab-Id.
|
boolean |
hasHandoverNumber()
Tests whether the field handoverNumber has a value.
|
boolean |
hasRab_Id()
Tests whether the field rab-Id has a value.
|
MAPRelocationNumber |
setHandoverNumber(AddressString value)
Sets the value of the field handoverNumber.
|
MAPRelocationNumber |
setRab_Id(int value)
Sets the value of the field rab-Id and marks the field as present.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPRelocationNumber()
public MAPRelocationNumber(AddressString HandoverNumber_param, int Rab_Id_param)
HandoverNumber_param
- value for that fieldRab_Id_param
- value for that fieldpublic MAPRelocationNumber clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPRelocationNumber copyOf(MAPRelocationNumber from)
from
- the object from which to copypublic static FieldAccessor[] getFieldAccessors()
public Map<String,Object> getFieldsMap(boolean withAbsents)
getFieldsMap
in class AbstractFieldsObject
withAbsents
- whether to put absent optional fields into Mappublic AddressString getHandoverNumber()
public int getRab_Id()
public boolean hasHandoverNumber()
public boolean hasRab_Id()
public MAPRelocationNumber setHandoverNumber(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRelocationNumber setRab_Id(int 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