Class CAP3ConnectArg

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    CAP4ConnectArg

    public class CAP3ConnectArg
    extends CAP2ConnectArg
    API for CAP-gsmSSF-gsmSCF-ops-args.ConnectArg. Generated from the following ASN.1 type definition and the adaptations below.
     ConnectArg ::=
         SEQUENCE {
             destinationRoutingAddress       DestinationRoutingAddress,
             alertingPattern                 AlertingPattern OPTIONAL,
             originalCalledPartyID           OriginalCalledPartyID OPTIONAL,
             extensions                      Extensions OPTIONAL,
             carrier                         Carrier OPTIONAL,
             callingPartysCategory           CallingPartysCategory OPTIONAL,
             redirectingPartyID              RedirectingPartyID OPTIONAL,
             redirectionInformation          RedirectionInformation OPTIONAL,
             genericNumbers                  GenericNumbers OPTIONAL,
             serviceInteractionIndicatorsTwo ServiceInteractionIndicatorsTwo OPTIONAL,
             chargeNumber                    ChargeNumber OPTIONAL,
             cug-Interlock                   CUG-Interlock OPTIONAL,
             cug-OutgoingAccess              NULL OPTIONAL,
             suppressionOfAnnouncement       SuppressionOfAnnouncement OPTIONAL,
             oCSIApplicable                  OCSIApplicable OPTIONAL,
             naOliInfo                       NAOliInfo OPTIONAL,
             ...
         }
     CAP-gsmSSF-gsmSCF-ops-args {
         ConnectArg {
             @parentType com.opencloud.slee.resources.cgin.cap_v2.CAP2ConnectArg
         }
     }
     

    Used as argument type by CAP3Operations.connect.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP3ConnectArg

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

      • copyOf

        public static CAP3ConnectArg 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:
        CAP3ConnectArg
      • getCarrier

        public byte[] getCarrier()
        Gets the value of the field carrier.
        Returns:
        value of field carrier, or null if not present
      • getChargeNumber

        public LocationNumber getChargeNumber()
        Gets the value of the field chargeNumber.
        Returns:
        value of field chargeNumber, or null if not present
      • getCug_Interlock

        public CUGInterLockCode getCug_Interlock()
        Gets the value of the field cug-Interlock.
        Returns:
        value of field cug-Interlock, 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 CAP2ConnectArg
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getNaOliInfo

        public byte[] getNaOliInfo()
        Gets the value of the field naOliInfo.
        Returns:
        value of field naOliInfo, or null if not present
      • getServiceInteractionIndicatorsTwo

        public CAP3ServiceInteractionIndicatorsTwo getServiceInteractionIndicatorsTwo()
        Gets the value of the field serviceInteractionIndicatorsTwo.
        Returns:
        value of field serviceInteractionIndicatorsTwo, or null if not present
      • hasCarrier

        public boolean hasCarrier()
        Tests whether the field carrier has a value.
        Returns:
        whether the field carrier has a value
      • hasChargeNumber

        public boolean hasChargeNumber()
        Tests whether the field chargeNumber has a value.
        Returns:
        whether the field chargeNumber has a value
      • hasCug_Interlock

        public boolean hasCug_Interlock()
        Tests whether the field cug-Interlock has a value.
        Returns:
        whether the field cug-Interlock has a value
      • hasCug_OutgoingAccess

        public boolean hasCug_OutgoingAccess()
        Tests whether the field cug-OutgoingAccess is present.
        Returns:
        whether the field cug-OutgoingAccess is present
      • hasNaOliInfo

        public boolean hasNaOliInfo()
        Tests whether the field naOliInfo has a value.
        Returns:
        whether the field naOliInfo has a value
      • hasServiceInteractionIndicatorsTwo

        public boolean hasServiceInteractionIndicatorsTwo()
        Tests whether the field serviceInteractionIndicatorsTwo has a value.
        Returns:
        whether the field serviceInteractionIndicatorsTwo has a value
      • setCarrier

        public CAP3ConnectArg setCarrier​(byte[] value)
                                  throws IllegalStateException
        Sets the value of the field carrier. 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
      • setCug_OutgoingAccessPresent

        public CAP3ConnectArg setCug_OutgoingAccessPresent​(boolean flag)
                                                    throws IllegalStateException
        Sets the presence or absence of the optional field cug-OutgoingAccess.
        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
      • setNaOliInfo

        public CAP3ConnectArg setNaOliInfo​(byte[] value)
                                    throws IllegalStateException
        Sets the value of the field naOliInfo. 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