Class CAP1InitialDPArg

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

    public class CAP1InitialDPArg
    extends CCInitialDPArg
    API for CAP-DataTypes.InitialDPArg. Generated from the following ASN.1 type definition and the adaptations below.
     InitialDPArg ::=
         SEQUENCE {
             serviceKey                   ServiceKey,
             calledPartyNumber            CalledPartyNumber OPTIONAL,
             callingPartyNumber           CallingPartyNumber OPTIONAL,
             callingPartysCategory        CallingPartysCategory OPTIONAL,
             locationNumber               LocationNumber OPTIONAL,
             originalCalledPartyID        OriginalCalledPartyID OPTIONAL,
             extensions                   SEQUENCE (SIZE (1..10)) OF ExtensionField OPTIONAL,
             highLayerCompatibility       HighLayerCompatibility OPTIONAL,
             additionalCallingPartyNumber AdditionalCallingPartyNumber OPTIONAL,
             bearerCapability             BearerCapability OPTIONAL,
             eventTypeBCSM                EventTypeBCSM OPTIONAL,
             redirectingPartyID           RedirectingPartyID OPTIONAL,
             redirectionInformation       RedirectionInformation OPTIONAL,
             iMSI                         IMSI OPTIONAL,
             subscriberState              SubscriberState OPTIONAL,
             locationInformation          LocationInformation OPTIONAL,
             ext-basicServiceCode         Ext-BasicServiceCode OPTIONAL,
             callReferenceNumber          CallReferenceNumber OPTIONAL,
             mscAddress                   ISDN-AddressString OPTIONAL,
             calledPartyBCDNumber         CalledPartyBCDNumber OPTIONAL,
             ...
         }
     CAP-DataTypes {
         InitialDPArg {
             @parentType com.opencloud.slee.resources.cgin.callcontrol.CCInitialDPArg
         }
     }
     

    Used as argument type by CAP1Operations.initialDP.

    See Also:
    Serialized Form
    • Constructor Detail

      • CAP1InitialDPArg

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

      • copyOf

        public static CAP1InitialDPArg copyOf​(CCInitialDPArg 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:
        CAP1InitialDPArg
      • getCallReferenceNumber

        public byte[] getCallReferenceNumber()
        Gets the value of the field callReferenceNumber.
        Returns:
        value of field callReferenceNumber, or null if not present
      • getCalledPartyBCDNumber

        public CalledPartyBCDNumber getCalledPartyBCDNumber()
        Gets the value of the field calledPartyBCDNumber.
        Returns:
        value of field calledPartyBCDNumber, or null if not present
      • getExt_basicServiceCode

        public MAPExt_BasicServiceCode getExt_basicServiceCode()
        Gets the value of the field ext-basicServiceCode.
        Returns:
        value of field ext-basicServiceCode, or null if not present
      • getExtensions

        public CAP1ExtensionField[] 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 CCInitialDPArg
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getIMSI

        public IMSIAddress getIMSI()
        Gets the value of the field iMSI.
        Returns:
        value of field iMSI, or null if not present
      • getLocationInformation

        public MAPLocationInformation getLocationInformation()
        Gets the value of the field locationInformation.
        Returns:
        value of field locationInformation, or null if not present
      • getMscAddress

        public AddressString getMscAddress()
        Gets the value of the field mscAddress.
        Returns:
        value of field mscAddress, or null if not present
      • getSubscriberState

        public MAPSubscriberState getSubscriberState()
        Gets the value of the field subscriberState.
        Returns:
        value of field subscriberState, or null if not present
      • hasCallReferenceNumber

        public boolean hasCallReferenceNumber()
        Tests whether the field callReferenceNumber has a value.
        Returns:
        whether the field callReferenceNumber has a value
      • hasCalledPartyBCDNumber

        public boolean hasCalledPartyBCDNumber()
        Tests whether the field calledPartyBCDNumber has a value.
        Returns:
        whether the field calledPartyBCDNumber has a value
      • hasExt_basicServiceCode

        public boolean hasExt_basicServiceCode()
        Tests whether the field ext-basicServiceCode has a value.
        Returns:
        whether the field ext-basicServiceCode has a value
      • hasExtensions

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

        public boolean hasIMSI()
        Tests whether the field iMSI has a value.
        Returns:
        whether the field iMSI has a value
      • hasLocationInformation

        public boolean hasLocationInformation()
        Tests whether the field locationInformation has a value.
        Returns:
        whether the field locationInformation has a value
      • hasMscAddress

        public boolean hasMscAddress()
        Tests whether the field mscAddress has a value.
        Returns:
        whether the field mscAddress has a value
      • hasSubscriberState

        public boolean hasSubscriberState()
        Tests whether the field subscriberState has a value.
        Returns:
        whether the field subscriberState has a value
      • setCallReferenceNumber

        public CAP1InitialDPArg setCallReferenceNumber​(byte[] value)
                                                throws IllegalStateException
        Sets the value of the field callReferenceNumber. 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