Class MAPPerformHandoverArg
- java.lang.Object
-
- com.opencloud.util.AbstractDataObject
-
- com.opencloud.util.AbstractFieldsObject
-
- MAPPerformHandoverArg
-
- All Implemented Interfaces:
DataObject,Serializable
public class MAPPerformHandoverArg extends AbstractFieldsObject
API for MAP-MS-DataTypes-ph1.PerformHandoverArg. Generated from the following ASN.1 type definition.PerformHandoverArg ::= SEQUENCE { targetCellId GlobalCellId, servingCellId GlobalCellId, channelType ChannelType, classmarkInformation ClassmarkInformation, handoverPriority HandoverPriority OPTIONAL, kc Kc OPTIONAL }Present in ph1. Removed between ph1 and ph2.Used as argument 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 MAPPerformHandoverArg()Constructs an object with uninitialised state.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MAPPerformHandoverArgclone()Constructs a copy of this object and everything reachable from it.static MAPPerformHandoverArgcopyOf(MAPPerformHandoverArg 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.byte[]getChannelType()Gets the value of the field channelType.byte[]getClassmarkInformation()Gets the value of the field classmarkInformation.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.byte[]getHandoverPriority()Gets the value of the field handoverPriority.byte[]getKc()Gets the value of the field kc.CellGlobalIdgetServingCellId()Gets the value of the field servingCellId.CellGlobalIdgetTargetCellId()Gets the value of the field targetCellId.booleanhasChannelType()Tests whether the field channelType has a value.booleanhasClassmarkInformation()Tests whether the field classmarkInformation has a value.booleanhasHandoverPriority()Tests whether the field handoverPriority has a value.booleanhasKc()Tests whether the field kc has a value.booleanhasServingCellId()Tests whether the field servingCellId has a value.booleanhasTargetCellId()Tests whether the field targetCellId has a value.MAPPerformHandoverArgsetChannelType(byte[] value)Sets the value of the field channelType.MAPPerformHandoverArgsetClassmarkInformation(byte[] value)Sets the value of the field classmarkInformation.MAPPerformHandoverArgsetHandoverPriority(byte[] value)Sets the value of the field handoverPriority.MAPPerformHandoverArgsetKc(byte[] value)Sets the value of the field kc.voidsetReadOnly()Sets this and all its fields to be immutable.MAPPerformHandoverArgsetServingCellId(CellGlobalId value)Sets the value of the field servingCellId.MAPPerformHandoverArgsetTargetCellId(CellGlobalId value)Sets the value of the field targetCellId.-
Methods inherited from class com.opencloud.util.AbstractFieldsObject
equals, hashCode, toString
-
Methods inherited from class com.opencloud.util.AbstractDataObject
checkModify, isReadOnly
-
-
-
-
Method Detail
-
clone
public MAPPerformHandoverArg clone()
Constructs a copy of this object and everything reachable from it.- Specified by:
clonein interfaceDataObject- Specified by:
clonein classAbstractDataObject- Returns:
- copy of object
-
copyOf
public static MAPPerformHandoverArg copyOf(MAPPerformHandoverArg 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:
- MAPPerformHandoverArg
-
getChannelType
public byte[] getChannelType()
Gets the value of the field channelType.- Returns:
- value of field channelType, or null if not present
-
getClassmarkInformation
public byte[] getClassmarkInformation()
Gets the value of the field classmarkInformation.- Returns:
- value of field classmarkInformation, 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:
getFieldsMapin classAbstractFieldsObject- Parameters:
withAbsents- whether to put absent optional fields into Map- Returns:
- Map from field-name to field-value
-
getHandoverPriority
public byte[] getHandoverPriority()
Gets the value of the field handoverPriority.- Returns:
- value of field handoverPriority, or null if not present
-
getKc
public byte[] getKc()
Gets the value of the field kc.- Returns:
- value of field kc, or null if not present
-
getServingCellId
public CellGlobalId getServingCellId()
Gets the value of the field servingCellId.- Returns:
- value of field servingCellId, or null if not present
-
getTargetCellId
public CellGlobalId getTargetCellId()
Gets the value of the field targetCellId.- Returns:
- value of field targetCellId, or null if not present
-
hasChannelType
public boolean hasChannelType()
Tests whether the field channelType has a value.- Returns:
- whether the field channelType has a value
-
hasClassmarkInformation
public boolean hasClassmarkInformation()
Tests whether the field classmarkInformation has a value.- Returns:
- whether the field classmarkInformation has a value
-
hasHandoverPriority
public boolean hasHandoverPriority()
Tests whether the field handoverPriority has a value.- Returns:
- whether the field handoverPriority has a value
-
hasKc
public boolean hasKc()
Tests whether the field kc has a value.- Returns:
- whether the field kc has a value
-
hasServingCellId
public boolean hasServingCellId()
Tests whether the field servingCellId has a value.- Returns:
- whether the field servingCellId has a value
-
hasTargetCellId
public boolean hasTargetCellId()
Tests whether the field targetCellId has a value.- Returns:
- whether the field targetCellId has a value
-
setChannelType
public MAPPerformHandoverArg setChannelType(byte[] value) throws IllegalStateException
Sets the value of the field channelType.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setClassmarkInformation
public MAPPerformHandoverArg setClassmarkInformation(byte[] value) throws IllegalStateException
Sets the value of the field classmarkInformation.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setHandoverPriority
public MAPPerformHandoverArg setHandoverPriority(byte[] value) throws IllegalStateException
Sets the value of the field handoverPriority. If null, marks the field as absent.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setKc
public MAPPerformHandoverArg setKc(byte[] value) throws IllegalStateException
Sets the value of the field kc. If null, marks the field as absent.- 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:
setReadOnlyin interfaceDataObject- Overrides:
setReadOnlyin classAbstractDataObject
-
setServingCellId
public MAPPerformHandoverArg setServingCellId(CellGlobalId value) throws IllegalStateException
Sets the value of the field servingCellId.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
setTargetCellId
public MAPPerformHandoverArg setTargetCellId(CellGlobalId value) throws IllegalStateException
Sets the value of the field targetCellId.- Parameters:
value- the new value for the field- Returns:
- this
- Throws:
IllegalStateException- if this instance has been marked as read-only
-
-