Class CAP4CancelArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CAP4CancelArg
    extends CCCancelArg
    API for CAP-gsmSSF-gsmSCF-ops-args.CancelArg. Generated from the following ASN.1 type definition and the adaptations below.
     CancelArg ::=
         CHOICE {
             invokeID            InvokeID,
             allRequests         NULL,
             callSegmentToCancel CallSegmentToCancel
         }
     CAP-gsmSSF-gsmSCF-ops-args {
         CancelArg {
             @parentType com.opencloud.slee.resources.cgin.callcontrol.CCCancelArg
         }
     }
     

    Used as argument type by CAP4Operations.cancel.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP4CancelArg

        public CAP4CancelArg()
    • Method Detail

      • copyOf

        public static CAP4CancelArg copyOf​(CCCancelArg 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:
        CAP4CancelArg
      • getCallSegmentToCancel

        public CAP4CallSegmentToCancel getCallSegmentToCancel()
        Gets the value of the callSegmentToCancel choice.
        Returns:
        value of the choice, if choice is callSegmentToCancel, else null
      • 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.
        Overrides:
        getFieldsMap in class CCCancelArg
        Parameters:
        withAbsents - ignored, as value cannot be optional
        Returns:
        Map from :discriminant-name to associated-value
      • isCallSegmentToCancelChosen

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