Class CS1ConnectArg

  • All Implemented Interfaces:
    DataObject, Serializable

    public class CS1ConnectArg
    extends CCConnectArg
    API for Core-INAP-CS1-DataTypes.ConnectArg. Generated from the following ASN.1 type definition and the adaptations below.
     ConnectArg ::=
         SEQUENCE {
             destinationRoutingAddress    DestinationRoutingAddress,
             alertingPattern              AlertingPattern OPTIONAL,
             correlationID                CorrelationID OPTIONAL,
             cutAndPaste                  CutAndPaste OPTIONAL,
             originalCalledPartyID        OriginalCalledPartyID OPTIONAL,
             routeList                    RouteList OPTIONAL,
             scfID                        ScfID OPTIONAL,
             extensions                   SEQUENCE (SIZE (1..1000)) OF ExtensionField OPTIONAL,
             serviceInteractionIndicators ServiceInteractionIndicators OPTIONAL,
             callingPartyNumber           CallingPartyNumber OPTIONAL,
             callingPartysCategory        CallingPartysCategory OPTIONAL,
             redirectingPartyID           RedirectingPartyID OPTIONAL,
             redirectionInformation       RedirectionInformation OPTIONAL,
             ...
         }
     Core-INAP-CS1-DataTypes {
         ConnectArg {
             @parentType com.opencloud.slee.resources.cgin.callcontrol.CCConnectArg
             correlationID {
                 @import com.opencloud.slee.resources.in.datatypes.cc.GenericDigits
             }
         }
     }
     

    Used as argument type by CS1Operations.connect.

    See Also:
    Serialized Form
    • Constructor Detail

      • CS1ConnectArg

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

      • copyOf

        public static CS1ConnectArg copyOf​(CCConnectArg 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:
        CS1ConnectArg
      • getCallingPartyNumber

        public CallingPartyNumber getCallingPartyNumber()
        Gets the value of the field callingPartyNumber.
        Returns:
        value of field callingPartyNumber, or null if not present
      • getCorrelationID

        public GenericDigits getCorrelationID()
        Gets the value of the field correlationID.
        Returns:
        value of field correlationID, or null if not present
      • getCutAndPaste

        public int getCutAndPaste()
        Gets the value of the field cutAndPaste.
        Returns:
        value of field cutAndPaste
      • getExtensions

        public CS1ExtensionField[] getExtensions()
        Gets the value of the field extensions.
        Returns:
        value of field extensions, 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.
        Overrides:
        getFieldsMap in class CCConnectArg
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getRouteList

        public byte[][] getRouteList()
        Gets the value of the field routeList.
        Returns:
        value of field routeList, or null if not present
      • getScfID

        public CCScfID getScfID()
        Gets the value of the field scfID.
        Returns:
        value of field scfID, or null if not present
      • getServiceInteractionIndicators

        public CS1ServiceInteractionIndicators getServiceInteractionIndicators()
        Gets the value of the field serviceInteractionIndicators.
        Returns:
        value of field serviceInteractionIndicators, or null if not present
      • hasCallingPartyNumber

        public boolean hasCallingPartyNumber()
        Tests whether the field callingPartyNumber has a value.
        Returns:
        whether the field callingPartyNumber has a value
      • hasCorrelationID

        public boolean hasCorrelationID()
        Tests whether the field correlationID has a value.
        Returns:
        whether the field correlationID has a value
      • hasCutAndPaste

        public boolean hasCutAndPaste()
        Tests whether the field cutAndPaste has a value.
        Returns:
        whether the field cutAndPaste has a value
      • hasExtensions

        public boolean hasExtensions()
        Tests whether the field extensions has a value.
        Returns:
        whether the field extensions has a value
      • hasRouteList

        public boolean hasRouteList()
        Tests whether the field routeList has a value.
        Returns:
        whether the field routeList has a value
      • hasScfID

        public boolean hasScfID()
        Tests whether the field scfID has a value.
        Returns:
        whether the field scfID has a value
      • hasServiceInteractionIndicators

        public boolean hasServiceInteractionIndicators()
        Tests whether the field serviceInteractionIndicators has a value.
        Returns:
        whether the field serviceInteractionIndicators has a value
      • setCutAndPaste

        public CS1ConnectArg setCutAndPaste​(int value)
                                     throws IllegalStateException
        Sets the value of the field cutAndPaste and marks the field as present.
        Parameters:
        value - the new value for the field
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setCutAndPastePresent

        public CS1ConnectArg setCutAndPastePresent​(boolean flag)
                                            throws IllegalStateException
        Sets the presence or absence of the optional field cutAndPaste.
        Parameters:
        flag - either true if the field should be marked as present or false if the field should be marked as absent
        Returns:
        this
        Throws:
        IllegalStateException - if this instance has been marked as read-only
      • setRouteList

        public CS1ConnectArg setRouteList​(byte[][] value)
                                   throws IllegalStateException
        Sets the value of the field routeList. 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