Class MAPPerformHandoverRes
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPPerformHandoverRes
-
- All Implemented Interfaces:
DataObject
,Serializable
public class MAPPerformHandoverRes extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph1.PerformHandoverRes. Generated from the following ASN.1 type definition.PerformHandoverRes ::= SEQUENCE { handoverNumber ISDN-AddressString, accessSignalInfo ExternalSignalInfo -- protocolId for ExternalSignalInfo should indicate gsm-04.08-version1 }
Present in ph1. Removed between ph1 and ph2.Used as result type by
MAPOperations.performHandover_v1
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.util.AbstractFieldsObject
FIELD_ABSENT, FIELD_UNINITIALISED
-
-
Constructor Summary
Constructors Constructor Description MAPPerformHandoverRes()
Constructs an object with uninitialised state.MAPPerformHandoverRes(AddressString HandoverNumber_param, MAPExternalSignalInfo AccessSignalInfo_param)
Constructs an object from given values for all fields.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPerformHandoverRes
clone()
Constructs a copy of this object and everything reachable from it.static MAPPerformHandoverRes
copyOf(MAPPerformHandoverRes 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.MAPExternalSignalInfo
getAccessSignalInfo()
Gets the value of the field accessSignalInfo.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.boolean
hasAccessSignalInfo()
Tests whether the field accessSignalInfo has a value.boolean
hasHandoverNumber()
Tests whether the field handoverNumber has a value.MAPPerformHandoverRes
setAccessSignalInfo(MAPExternalSignalInfo value)
Sets the value of the field accessSignalInfo.MAPPerformHandoverRes
setHandoverNumber(AddressString value)
Sets the value of the field handoverNumber.void
setReadOnly()
Sets this and all its fields to be immutable.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Constructor Detail
-
MAPPerformHandoverRes
public MAPPerformHandoverRes()
Constructs an object with uninitialised state.
-
MAPPerformHandoverRes
public MAPPerformHandoverRes(AddressString HandoverNumber_param, MAPExternalSignalInfo AccessSignalInfo_param)
Constructs an object from given values for all fields.- Parameters:
HandoverNumber_param
- value for that fieldAccessSignalInfo_param
- value for that field
-
-
Method Detail
-
clone
public MAPPerformHandoverRes clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clone
in interfaceDataObject
- Specified by:
clone
in classAbstractDataObject
- Returns:
- copy of object
-
copyOf
public static MAPPerformHandoverRes copyOf(MAPPerformHandoverRes 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:
- MAPPerformHandoverRes
-
getAccessSignalInfo
public MAPExternalSignalInfo getAccessSignalInfo()
Gets the value of the field accessSignalInfo.- Returns:
- value of field accessSignalInfo, 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.- Specified by:
getFieldsMap
in classAbstractFieldsObject
- Parameters:
withAbsents
- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getHandoverNumber
public AddressString getHandoverNumber()
Gets the value of the field handoverNumber.- Returns:
- value of field handoverNumber, or null if not present
-
hasAccessSignalInfo
public boolean hasAccessSignalInfo()
Tests whether the field accessSignalInfo has a value.- Returns:
- whether the field accessSignalInfo has a value
-
hasHandoverNumber
public boolean hasHandoverNumber()
Tests whether the field handoverNumber has a value.- Returns:
- whether the field handoverNumber has a value
-
setAccessSignalInfo
public MAPPerformHandoverRes setAccessSignalInfo(MAPExternalSignalInfo value) throws IllegalStateException
Sets the value of the field accessSignalInfo.- Parameters:
value
- the new value for the field- Returns:
- this
- Throws:
IllegalStateException
- if this instance has been marked as read-only
-
setHandoverNumber
public MAPPerformHandoverRes setHandoverNumber(AddressString value) throws IllegalStateException
Sets the value of the field handoverNumber.- Parameters:
value
- the new value for the field- 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:
setReadOnly
in interfaceDataObject
- Overrides:
setReadOnly
in classAbstractDataObject
-
-