Class CCInitialDPArg

  • All Implemented Interfaces:
    DataObject, Serializable
    Direct Known Subclasses:
    CAP1InitialDPArg, CS1InitialDPArg

    public class CCInitialDPArg
    extends AbstractFieldsObject
    API for CC-DataTypes.InitialDPArg. Generated from the following ASN.1 type definition.
     InitialDPArg ::=
         SEQUENCE {
             serviceKey                   ServiceKey,
             calledPartyNumber            CalledPartyNumber OPTIONAL,
             callingPartyNumber           CallingPartyNumber OPTIONAL,
             callingPartysCategory        CallingPartysCategory OPTIONAL,
             iPSSPCapabilities            IPSSPCapabilities OPTIONAL,
             locationNumber               LocationNumber OPTIONAL,
             originalCalledPartyID        OriginalCalledPartyID OPTIONAL,
             highLayerCompatibility       HighLayerCompatibility OPTIONAL,
             additionalCallingPartyNumber AdditionalCallingPartyNumber OPTIONAL,
             bearerCapability             BearerCapability OPTIONAL,
             eventTypeBCSM                EventTypeBCSM OPTIONAL,
             redirectingPartyID           RedirectingPartyID OPTIONAL,
             redirectionInformation       RedirectionInformation OPTIONAL
         }
     

    Used as argument type by CCOperations.initialDP.

    See Also:
    Serialized Form
    • Constructor Detail

      • CCInitialDPArg

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

      • copyOf

        public static CCInitialDPArg 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:
        CCInitialDPArg
      • getAdditionalCallingPartyNumber

        public GenericNumber getAdditionalCallingPartyNumber()
        Gets the value of the field additionalCallingPartyNumber.
        Returns:
        value of field additionalCallingPartyNumber, or null if not present
      • getBearerCapability

        public CCBearerCapability getBearerCapability()
        Gets the value of the field bearerCapability.
        Returns:
        value of field bearerCapability, or null if not present
      • getCalledPartyNumber

        public CalledPartyNumber getCalledPartyNumber()
        Gets the value of the field calledPartyNumber.
        Returns:
        value of field calledPartyNumber, or null if not present
      • getCallingPartyNumber

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

        public CallingPartysCategory getCallingPartysCategory()
        Gets the value of the field callingPartysCategory.
        Returns:
        value of field callingPartysCategory, or null if not present
      • getEventTypeBCSM

        public CCEventTypeBCSM getEventTypeBCSM()
        Gets the value of the field eventTypeBCSM.
        Returns:
        value of field eventTypeBCSM, 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.
        Specified by:
        getFieldsMap in class AbstractFieldsObject
        Parameters:
        withAbsents - whether to put absent optional fields into Map
        Returns:
        Map from field-name to field-value
      • getHighLayerCompatibility

        public HighLayerCompatibility getHighLayerCompatibility()
        Gets the value of the field highLayerCompatibility.
        Returns:
        value of field highLayerCompatibility, or null if not present
      • getIPSSPCapabilities

        public CCIPSSPCapabilities getIPSSPCapabilities()
        Gets the value of the field iPSSPCapabilities.
        Returns:
        value of field iPSSPCapabilities, or null if not present
      • getLocationNumber

        public LocationNumber getLocationNumber()
        Gets the value of the field locationNumber.
        Returns:
        value of field locationNumber, or null if not present
      • getOriginalCalledPartyID

        public OriginalCalledNumber getOriginalCalledPartyID()
        Gets the value of the field originalCalledPartyID.
        Returns:
        value of field originalCalledPartyID, or null if not present
      • getRedirectingPartyID

        public RedirectingPartyNumber getRedirectingPartyID()
        Gets the value of the field redirectingPartyID.
        Returns:
        value of field redirectingPartyID, or null if not present
      • getRedirectionInformation

        public RedirectionInformation getRedirectionInformation()
        Gets the value of the field redirectionInformation.
        Returns:
        value of field redirectionInformation, or null if not present
      • getServiceKey

        public int getServiceKey()
        Gets the value of the field serviceKey.
        Returns:
        value of field serviceKey
      • hasAdditionalCallingPartyNumber

        public boolean hasAdditionalCallingPartyNumber()
        Tests whether the field additionalCallingPartyNumber has a value.
        Returns:
        whether the field additionalCallingPartyNumber has a value
      • hasBearerCapability

        public boolean hasBearerCapability()
        Tests whether the field bearerCapability has a value.
        Returns:
        whether the field bearerCapability has a value
      • hasCalledPartyNumber

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

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

        public boolean hasCallingPartysCategory()
        Tests whether the field callingPartysCategory has a value.
        Returns:
        whether the field callingPartysCategory has a value
      • hasEventTypeBCSM

        public boolean hasEventTypeBCSM()
        Tests whether the field eventTypeBCSM has a value.
        Returns:
        whether the field eventTypeBCSM has a value
      • hasHighLayerCompatibility

        public boolean hasHighLayerCompatibility()
        Tests whether the field highLayerCompatibility has a value.
        Returns:
        whether the field highLayerCompatibility has a value
      • hasIPSSPCapabilities

        public boolean hasIPSSPCapabilities()
        Tests whether the field iPSSPCapabilities has a value.
        Returns:
        whether the field iPSSPCapabilities has a value
      • hasLocationNumber

        public boolean hasLocationNumber()
        Tests whether the field locationNumber has a value.
        Returns:
        whether the field locationNumber has a value
      • hasOriginalCalledPartyID

        public boolean hasOriginalCalledPartyID()
        Tests whether the field originalCalledPartyID has a value.
        Returns:
        whether the field originalCalledPartyID has a value
      • hasRedirectingPartyID

        public boolean hasRedirectingPartyID()
        Tests whether the field redirectingPartyID has a value.
        Returns:
        whether the field redirectingPartyID has a value
      • hasRedirectionInformation

        public boolean hasRedirectionInformation()
        Tests whether the field redirectionInformation has a value.
        Returns:
        whether the field redirectionInformation has a value
      • hasServiceKey

        public boolean hasServiceKey()
        Tests whether the field serviceKey has a value.
        Returns:
        whether the field serviceKey has a value
      • setAdditionalCallingPartyNumber

        public CCInitialDPArg setAdditionalCallingPartyNumber​(GenericNumber value)
                                                       throws IllegalStateException
        Sets the value of the field additionalCallingPartyNumber. 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
      • setServiceKey

        public CCInitialDPArg setServiceKey​(int value)
                                     throws IllegalStateException
        Sets the value of the field serviceKey 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