public class MAPRestoreDataRes extends AbstractFieldsObject
RestoreDataRes ::= SEQUENCE { hlr-Number ISDN-AddressString, msNotReachable NULL OPTIONAL, extensionContainer ExtensionContainer OPTIONAL, -- Added in R96. ... }Added in ph2.
Used as result type by MAPOperations.restoreData
.
FIELD_ABSENT, FIELD_UNINITIALISED
Constructor and Description |
---|
MAPRestoreDataRes()
Constructs an object with uninitialised state.
|
Modifier and Type | Method and Description |
---|---|
MAPRestoreDataRes |
clone()
Constructs a copy of this object and everything reachable from it.
|
static MAPRestoreDataRes |
copyOf(MAPRestoreDataRes 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 |
getHlr_Number()
Gets the value of the field hlr-Number.
|
boolean |
hasExtensionContainer()
Tests whether the field extensionContainer has a value.
|
boolean |
hasHlr_Number()
Tests whether the field hlr-Number has a value.
|
boolean |
hasMsNotReachable()
Tests whether the field msNotReachable is present.
|
MAPRestoreDataRes |
setExtensionContainer(MAPExtensionContainer value)
Sets the value of the field extensionContainer.
|
MAPRestoreDataRes |
setHlr_Number(AddressString value)
Sets the value of the field hlr-Number.
|
MAPRestoreDataRes |
setMsNotReachablePresent(boolean flag)
Sets the presence or absence of the optional field msNotReachable.
|
void |
setReadOnly()
Sets this and all its fields to be immutable.
|
equals, hashCode, toString
checkModify, isReadOnly
public MAPRestoreDataRes()
public MAPRestoreDataRes clone()
clone
in interface DataObject
clone
in class AbstractDataObject
public static MAPRestoreDataRes copyOf(MAPRestoreDataRes 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 getHlr_Number()
public boolean hasExtensionContainer()
public boolean hasHlr_Number()
public boolean hasMsNotReachable()
public MAPRestoreDataRes setExtensionContainer(MAPExtensionContainer value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRestoreDataRes setHlr_Number(AddressString value) throws IllegalStateException
value
- the new value for the fieldIllegalStateException
- if this instance has been marked as read-onlypublic MAPRestoreDataRes setMsNotReachablePresent(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