Class 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
    • Constructor Detail

      • MAPPerformHandoverArg

        public MAPPerformHandoverArg()
        Constructs an object with uninitialised state.
    • Method Detail

      • 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:
        getFieldsMap in class AbstractFieldsObject
        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
      • 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