Class CAP4ChangeOfLocation

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CAP4ChangeOfLocation
    extends AbstractFieldsObject
    API for CAP-datatypes.ChangeOfLocation. Generated from the following ASN.1 type definition.
     ChangeOfLocation ::=
         CHOICE {
             cellGlobalId         CellGlobalIdOrServiceAreaIdFixedLength,
             serviceAreaId        CellGlobalIdOrServiceAreaIdFixedLength,
             locationAreaId       LAIFixedLength,
             inter-SystemHandOver NULL,
             inter-PLMNHandOver   NULL,
             inter-MSCHandOver    NULL,
             changeOfLocationAlt  ChangeOfLocationAlt
         }
     

    Used in array as field type by CAP4DpSpecificCriteriaAlt.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP4ChangeOfLocation

        public CAP4ChangeOfLocation()
    • Method Detail

      • copyOf

        public static CAP4ChangeOfLocation copyOf​(CAP4ChangeOfLocation 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:
        CAP4ChangeOfLocation
      • getCellGlobalId

        public CellGlobalId getCellGlobalId()
        Gets the value of the cellGlobalId choice.
        Returns:
        value of the choice, if choice is cellGlobalId, else null
      • getChangeOfLocationAlt

        public CAP4ChangeOfLocationAlt getChangeOfLocationAlt()
        Gets the value of the changeOfLocationAlt choice.
        Returns:
        value of the choice, if choice is changeOfLocationAlt, else null
      • getChoice

        public CAP4ChangeOfLocation.Choice getChoice()
        Gets the discriminant of the current choice.
        Returns:
        the current discriminant
      • 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 :discriminant-name to associated-value. For a value of primitive type, the value is boxed. If choice is not set, returns a map from : to AbstractFieldsObject.FIELD_UNINITIALISED.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • getLocationAreaId

        public LocationAreaId getLocationAreaId()
        Gets the value of the locationAreaId choice.
        Returns:
        value of the choice, if choice is locationAreaId, else null
      • getServiceAreaId

        public CellGlobalId getServiceAreaId()
        Gets the value of the serviceAreaId choice.
        Returns:
        value of the choice, if choice is serviceAreaId, else null
      • isCellGlobalIdChosen

        public boolean isCellGlobalIdChosen()
        Tests whether the choice is cellGlobalId.
        Returns:
        true if chosen, false if not
      • isChangeOfLocationAltChosen

        public boolean isChangeOfLocationAltChosen()
        Tests whether the choice is changeOfLocationAlt.
        Returns:
        true if chosen, false if not
      • isInter_MSCHandOverChosen

        public boolean isInter_MSCHandOverChosen()
        Tests whether the choice is inter-MSCHandOver.
        Returns:
        true if chosen, false if not
      • isInter_PLMNHandOverChosen

        public boolean isInter_PLMNHandOverChosen()
        Tests whether the choice is inter-PLMNHandOver.
        Returns:
        true if chosen, false if not
      • isInter_SystemHandOverChosen

        public boolean isInter_SystemHandOverChosen()
        Tests whether the choice is inter-SystemHandOver.
        Returns:
        true if chosen, false if not
      • isLocationAreaIdChosen

        public boolean isLocationAreaIdChosen()
        Tests whether the choice is locationAreaId.
        Returns:
        true if chosen, false if not
      • isServiceAreaIdChosen

        public boolean isServiceAreaIdChosen()
        Tests whether the choice is serviceAreaId.
        Returns:
        true if chosen, false if not