Interface MmsInformation
-
- All Superinterfaces:
Cloneable
,DiameterAvp
,GroupedAvp
public interface MmsInformation extends GroupedAvp
Defines an interface representing the MMS-Information grouped AVP type. From the Diameter Rf Reference Point Protocol Details (3GPP TS 32.299 V12.11.0) specification:7.2.110 MMS-Information AVP The MMS-Information AVP (AVP code 877) is of type Grouped. Its purpose is to allow the transmission of additional MMS service specific information elements. It has the following ABNF grammar: (Note: the *[ AVP ] is not part of 3GPP TS 32.299, it was added to allow for more flexibility for extensions to Diameter Ro.) MMS-Information ::= < AVP Header: 877> [ Originator-Address ] * [ Recipient-Address ] [ Submission-Time ] [ MM-Content-Type ] [ Priority ] [ Message-ID ] [ Message-Type ] [ Message-Size ] [ Message-Class ] [ Delivery-Report-Requested ] [ Read-Reply-Report-Requested ] [ MMBox-Storage-Requested ] [ Applic-ID ] [ Reply-Applic-ID ] [ Aux-Applic-Info ] [ Content-Class ] [ DRM-Content ] [ Adaptations ] [ VASP-Id ] [ VAS-Id ] *[ AVP ]
-
-
Field Summary
-
Fields inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Adaptations
getAdaptations()
Returns the value of the Adaptations AVP, of type Enumerated.String
getApplicId()
Returns the value of the Applic-ID AVP, of type UTF8String.String
getAuxApplicInfo()
Returns the value of the Aux-Applic-Info AVP, of type UTF8String.ContentClass
getContentClass()
Returns the value of the Content-Class AVP, of type Enumerated.DeliveryReportRequested
getDeliveryReportRequested()
Returns the value of the Delivery-Report-Requested AVP, of type Enumerated.DrmContent
getDrmContent()
Returns the value of the DRM-Content AVP, of type Enumerated.DiameterAvp[]
getExtensionAvps()
Returns the set of extension AVPs.MessageClass
getMessageClass()
Returns the value of the Message-Class AVP, of type Grouped.String
getMessageId()
Returns the value of the Message-ID AVP, of type UTF8String.long
getMessageSize()
Returns the value of the Message-Size AVP, of type Unsigned32.MessageType
getMessageType()
Returns the value of the Message-Type AVP, of type Enumerated.MmboxStorageRequested
getMmboxStorageRequested()
Returns the value of the MMBox-Storage-Requested AVP, of type Enumerated.MmContentType
getMmContentType()
Returns the value of the MM-Content-Type AVP, of type Grouped.OriginatorAddress
getOriginatorAddress()
Returns the value of the Originator-Address AVP, of type Grouped.Priority
getPriority()
Returns the value of the Priority AVP, of type Enumerated.ReadReplyReportRequested
getReadReplyReportRequested()
Returns the value of the Read-Reply-Report-Requested AVP, of type Enumerated.RecipientAddress[]
getRecipientAddresses()
Returns the set of Recipient-Address AVPs.String
getReplyApplicId()
Returns the value of the Reply-Applic-ID AVP, of type UTF8String.Date
getSubmissionTime()
Returns the value of the Submission-Time AVP, of type Time.String
getVasId()
Returns the value of the VAS-Id AVP, of type UTF8String.String
getVaspId()
Returns the value of the VASP-Id AVP, of type UTF8String.boolean
hasAdaptations()
Returns true if the Adaptations AVP is present in the MMS-Information AVP.boolean
hasApplicId()
Returns true if the Applic-ID AVP is present in the MMS-Information AVP.boolean
hasAuxApplicInfo()
Returns true if the Aux-Applic-Info AVP is present in the MMS-Information AVP.boolean
hasContentClass()
Returns true if the Content-Class AVP is present in the MMS-Information AVP.boolean
hasDeliveryReportRequested()
Returns true if the Delivery-Report-Requested AVP is present in the MMS-Information AVP.boolean
hasDrmContent()
Returns true if the DRM-Content AVP is present in the MMS-Information AVP.boolean
hasMessageClass()
Returns true if the Message-Class AVP is present in the MMS-Information AVP.boolean
hasMessageId()
Returns true if the Message-ID AVP is present in the MMS-Information AVP.boolean
hasMessageSize()
Returns true if the Message-Size AVP is present in the MMS-Information AVP.boolean
hasMessageType()
Returns true if the Message-Type AVP is present in the MMS-Information AVP.boolean
hasMmboxStorageRequested()
Returns true if the MMBox-Storage-Requested AVP is present in the MMS-Information AVP.boolean
hasMmContentType()
Returns true if the MM-Content-Type AVP is present in the MMS-Information AVP.boolean
hasOriginatorAddress()
Returns true if the Originator-Address AVP is present in the MMS-Information AVP.boolean
hasPriority()
Returns true if the Priority AVP is present in the MMS-Information AVP.boolean
hasReadReplyReportRequested()
Returns true if the Read-Reply-Report-Requested AVP is present in the MMS-Information AVP.boolean
hasReplyApplicId()
Returns true if the Reply-Applic-ID AVP is present in the MMS-Information AVP.boolean
hasSubmissionTime()
Returns true if the Submission-Time AVP is present in the MMS-Information AVP.boolean
hasVasId()
Returns true if the VAS-Id AVP is present in the MMS-Information AVP.boolean
hasVaspId()
Returns true if the VASP-Id AVP is present in the MMS-Information AVP.void
removeAdaptations()
Removes the Adaptations AVP from the MMS-Information AVP.void
removeApplicId()
Removes the Applic-ID AVP from the MMS-Information AVP.void
removeAuxApplicInfo()
Removes the Aux-Applic-Info AVP from the MMS-Information AVP.void
removeContentClass()
Removes the Content-Class AVP from the MMS-Information AVP.void
removeDeliveryReportRequested()
Removes the Delivery-Report-Requested AVP from the MMS-Information AVP.void
removeDrmContent()
Removes the DRM-Content AVP from the MMS-Information AVP.void
removeExtensionAvps()
Removes all extension AVPs from the MMS-Information AVP.void
removeMessageClass()
Removes the Message-Class AVP from the MMS-Information AVP.void
removeMessageId()
Removes the Message-ID AVP from the MMS-Information AVP.void
removeMessageSize()
Removes the Message-Size AVP from the MMS-Information AVP.void
removeMessageType()
Removes the Message-Type AVP from the MMS-Information AVP.void
removeMmboxStorageRequested()
Removes the MMBox-Storage-Requested AVP from the MMS-Information AVP.void
removeMmContentType()
Removes the MM-Content-Type AVP from the MMS-Information AVP.void
removeOriginatorAddress()
Removes the Originator-Address AVP from the MMS-Information AVP.void
removePriority()
Removes the Priority AVP from the MMS-Information AVP.void
removeReadReplyReportRequested()
Removes the Read-Reply-Report-Requested AVP from the MMS-Information AVP.void
removeRecipientAddresses()
Removes all Recipient-Address AVPs from the MMS-Information AVP.void
removeReplyApplicId()
Removes the Reply-Applic-ID AVP from the MMS-Information AVP.void
removeSubmissionTime()
Removes the Submission-Time AVP from the MMS-Information AVP.void
removeVasId()
Removes the VAS-Id AVP from the MMS-Information AVP.void
removeVaspId()
Removes the VASP-Id AVP from the MMS-Information AVP.void
setAdaptations(Adaptations adaptations)
Sets the value of the Adaptations AVP, of type Enumerated.void
setApplicId(String applicId)
Sets the value of the Applic-ID AVP, of type UTF8String.void
setAuxApplicInfo(String auxApplicInfo)
Sets the value of the Aux-Applic-Info AVP, of type UTF8String.void
setContentClass(ContentClass contentClass)
Sets the value of the Content-Class AVP, of type Enumerated.void
setDeliveryReportRequested(DeliveryReportRequested deliveryReportRequested)
Sets the value of the Delivery-Report-Requested AVP, of type Enumerated.void
setDrmContent(DrmContent drmContent)
Sets the value of the DRM-Content AVP, of type Enumerated.void
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.void
setMessageClass(MessageClass messageClass)
Sets the value of the Message-Class AVP, of type Grouped.void
setMessageId(String messageId)
Sets the value of the Message-ID AVP, of type UTF8String.void
setMessageSize(long messageSize)
Sets the value of the Message-Size AVP, of type Unsigned32.void
setMessageType(MessageType messageType)
Sets the value of the Message-Type AVP, of type Enumerated.void
setMmboxStorageRequested(MmboxStorageRequested mmboxStorageRequested)
Sets the value of the MMBox-Storage-Requested AVP, of type Enumerated.void
setMmContentType(MmContentType mmContentType)
Sets the value of the MM-Content-Type AVP, of type Grouped.void
setOriginatorAddress(OriginatorAddress originatorAddress)
Sets the value of the Originator-Address AVP, of type Grouped.void
setPriority(Priority priority)
Sets the value of the Priority AVP, of type Enumerated.void
setReadReplyReportRequested(ReadReplyReportRequested readReplyReportRequested)
Sets the value of the Read-Reply-Report-Requested AVP, of type Enumerated.void
setRecipientAddress(RecipientAddress recipientAddress)
Sets a single Recipient-Address AVP in the MMS-Information AVP, of type Grouped.void
setRecipientAddresses(RecipientAddress[] recipientAddresses)
Sets the set of Recipient-Address AVPs, with all the values in the given array.void
setReplyApplicId(String replyApplicId)
Sets the value of the Reply-Applic-ID AVP, of type UTF8String.void
setSubmissionTime(Date submissionTime)
Sets the value of the Submission-Time AVP, of type Time.void
setVasId(String vasId)
Sets the value of the VAS-Id AVP, of type UTF8String.void
setVaspId(String vaspId)
Sets the value of the VASP-Id AVP, of type UTF8String.-
Methods inherited from interface org.jainslee.resources.diameter.base.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
-
-
-
-
Method Detail
-
hasOriginatorAddress
boolean hasOriginatorAddress()
Returns true if the Originator-Address AVP is present in the MMS-Information AVP.
-
getOriginatorAddress
OriginatorAddress getOriginatorAddress()
Returns the value of the Originator-Address AVP, of type Grouped.- Returns:
- the value of the Originator-Address AVP, or null if it has not been set.
-
setOriginatorAddress
void setOriginatorAddress(OriginatorAddress originatorAddress)
Sets the value of the Originator-Address AVP, of type Grouped.- Throws:
NullPointerException
- iforiginatorAddress
isnull
.
-
removeOriginatorAddress
void removeOriginatorAddress()
Removes the Originator-Address AVP from the MMS-Information AVP. If the Originator-Address AVP is not present, this method returns silently.
-
getRecipientAddresses
RecipientAddress[] getRecipientAddresses()
Returns the set of Recipient-Address AVPs. The returned array contains the AVPs in the order they appear in the MMS-Information AVP. A return value of null implies that no Recipient-Address AVPs have been set. The elements in the given array are RecipientAddress objects.
-
setRecipientAddress
void setRecipientAddress(RecipientAddress recipientAddress)
Sets a single Recipient-Address AVP in the MMS-Information AVP, of type Grouped.- Throws:
NullPointerException
- ifrecipientAddress
isnull
.
-
setRecipientAddresses
void setRecipientAddresses(RecipientAddress[] recipientAddresses)
Sets the set of Recipient-Address AVPs, with all the values in the given array. The AVPs will be added to the MMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getRecipientAddresses() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
NullPointerException
- ifrecipientAddresses
isnull
.
-
removeRecipientAddresses
void removeRecipientAddresses()
Removes all Recipient-Address AVPs from the MMS-Information AVP. If no Recipient-Address AVPs are present, this method returns silently.
-
hasSubmissionTime
boolean hasSubmissionTime()
Returns true if the Submission-Time AVP is present in the MMS-Information AVP.
-
getSubmissionTime
Date getSubmissionTime()
Returns the value of the Submission-Time AVP, of type Time.- Returns:
- the value of the Submission-Time AVP, or null if it has not been set.
-
setSubmissionTime
void setSubmissionTime(Date submissionTime)
Sets the value of the Submission-Time AVP, of type Time.- Throws:
NullPointerException
- ifsubmissionTime
isnull
.
-
removeSubmissionTime
void removeSubmissionTime()
Removes the Submission-Time AVP from the MMS-Information AVP. If the Submission-Time AVP is not present, this method returns silently.
-
hasMmContentType
boolean hasMmContentType()
Returns true if the MM-Content-Type AVP is present in the MMS-Information AVP.
-
getMmContentType
MmContentType getMmContentType()
Returns the value of the MM-Content-Type AVP, of type Grouped.- Returns:
- the value of the MM-Content-Type AVP, or null if it has not been set.
-
setMmContentType
void setMmContentType(MmContentType mmContentType)
Sets the value of the MM-Content-Type AVP, of type Grouped.- Throws:
NullPointerException
- ifmmContentType
isnull
.
-
removeMmContentType
void removeMmContentType()
Removes the MM-Content-Type AVP from the MMS-Information AVP. If the MM-Content-Type AVP is not present, this method returns silently.
-
hasPriority
boolean hasPriority()
Returns true if the Priority AVP is present in the MMS-Information AVP.
-
getPriority
Priority getPriority()
Returns the value of the Priority AVP, of type Enumerated.- Returns:
- the value of the Priority AVP, or null if it has not been set.
-
setPriority
void setPriority(Priority priority)
Sets the value of the Priority AVP, of type Enumerated.- Throws:
NullPointerException
- ifpriority
isnull
.
-
removePriority
void removePriority()
Removes the Priority AVP from the MMS-Information AVP. If the Priority AVP is not present, this method returns silently.
-
hasMessageId
boolean hasMessageId()
Returns true if the Message-ID AVP is present in the MMS-Information AVP.
-
getMessageId
String getMessageId()
Returns the value of the Message-ID AVP, of type UTF8String.- Returns:
- the value of the Message-ID AVP, or null if it has not been set.
-
setMessageId
void setMessageId(String messageId)
Sets the value of the Message-ID AVP, of type UTF8String.- Throws:
NullPointerException
- ifmessageId
isnull
.
-
removeMessageId
void removeMessageId()
Removes the Message-ID AVP from the MMS-Information AVP. If the Message-ID AVP is not present, this method returns silently.
-
hasMessageType
boolean hasMessageType()
Returns true if the Message-Type AVP is present in the MMS-Information AVP.
-
getMessageType
MessageType getMessageType()
Returns the value of the Message-Type AVP, of type Enumerated.- Returns:
- the value of the Message-Type AVP, or null if it has not been set.
-
setMessageType
void setMessageType(MessageType messageType)
Sets the value of the Message-Type AVP, of type Enumerated.- Throws:
NullPointerException
- ifmessageType
isnull
.
-
removeMessageType
void removeMessageType()
Removes the Message-Type AVP from the MMS-Information AVP. If the Message-Type AVP is not present, this method returns silently.
-
hasMessageSize
boolean hasMessageSize()
Returns true if the Message-Size AVP is present in the MMS-Information AVP.
-
getMessageSize
long getMessageSize()
Returns the value of the Message-Size AVP, of type Unsigned32. UsehasMessageSize()
to check the existence of this AVP.- Returns:
- the value of the Message-Size AVP
- Throws:
IllegalStateException
- if the Message-Size AVP has not been set.
-
setMessageSize
void setMessageSize(long messageSize)
Sets the value of the Message-Size AVP, of type Unsigned32.
-
removeMessageSize
void removeMessageSize()
Removes the Message-Size AVP from the MMS-Information AVP. If the Message-Size AVP is not present, this method returns silently.
-
hasMessageClass
boolean hasMessageClass()
Returns true if the Message-Class AVP is present in the MMS-Information AVP.
-
getMessageClass
MessageClass getMessageClass()
Returns the value of the Message-Class AVP, of type Grouped.- Returns:
- the value of the Message-Class AVP, or null if it has not been set.
-
setMessageClass
void setMessageClass(MessageClass messageClass)
Sets the value of the Message-Class AVP, of type Grouped.- Throws:
NullPointerException
- ifmessageClass
isnull
.
-
removeMessageClass
void removeMessageClass()
Removes the Message-Class AVP from the MMS-Information AVP. If the Message-Class AVP is not present, this method returns silently.
-
hasDeliveryReportRequested
boolean hasDeliveryReportRequested()
Returns true if the Delivery-Report-Requested AVP is present in the MMS-Information AVP.
-
getDeliveryReportRequested
DeliveryReportRequested getDeliveryReportRequested()
Returns the value of the Delivery-Report-Requested AVP, of type Enumerated.- Returns:
- the value of the Delivery-Report-Requested AVP, or null if it has not been set.
-
setDeliveryReportRequested
void setDeliveryReportRequested(DeliveryReportRequested deliveryReportRequested)
Sets the value of the Delivery-Report-Requested AVP, of type Enumerated.- Throws:
NullPointerException
- ifdeliveryReportRequested
isnull
.
-
removeDeliveryReportRequested
void removeDeliveryReportRequested()
Removes the Delivery-Report-Requested AVP from the MMS-Information AVP. If the Delivery-Report-Requested AVP is not present, this method returns silently.
-
hasReadReplyReportRequested
boolean hasReadReplyReportRequested()
Returns true if the Read-Reply-Report-Requested AVP is present in the MMS-Information AVP.
-
getReadReplyReportRequested
ReadReplyReportRequested getReadReplyReportRequested()
Returns the value of the Read-Reply-Report-Requested AVP, of type Enumerated.- Returns:
- the value of the Read-Reply-Report-Requested AVP, or null if it has not been set.
-
setReadReplyReportRequested
void setReadReplyReportRequested(ReadReplyReportRequested readReplyReportRequested)
Sets the value of the Read-Reply-Report-Requested AVP, of type Enumerated.- Throws:
NullPointerException
- ifreadReplyReportRequested
isnull
.
-
removeReadReplyReportRequested
void removeReadReplyReportRequested()
Removes the Read-Reply-Report-Requested AVP from the MMS-Information AVP. If the Read-Reply-Report-Requested AVP is not present, this method returns silently.
-
hasMmboxStorageRequested
boolean hasMmboxStorageRequested()
Returns true if the MMBox-Storage-Requested AVP is present in the MMS-Information AVP.
-
getMmboxStorageRequested
MmboxStorageRequested getMmboxStorageRequested()
Returns the value of the MMBox-Storage-Requested AVP, of type Enumerated.- Returns:
- the value of the MMBox-Storage-Requested AVP, or null if it has not been set.
-
setMmboxStorageRequested
void setMmboxStorageRequested(MmboxStorageRequested mmboxStorageRequested)
Sets the value of the MMBox-Storage-Requested AVP, of type Enumerated.- Throws:
NullPointerException
- ifmmboxStorageRequested
isnull
.
-
removeMmboxStorageRequested
void removeMmboxStorageRequested()
Removes the MMBox-Storage-Requested AVP from the MMS-Information AVP. If the MMBox-Storage-Requested AVP is not present, this method returns silently.
-
hasApplicId
boolean hasApplicId()
Returns true if the Applic-ID AVP is present in the MMS-Information AVP.
-
getApplicId
String getApplicId()
Returns the value of the Applic-ID AVP, of type UTF8String.- Returns:
- the value of the Applic-ID AVP, or null if it has not been set.
-
setApplicId
void setApplicId(String applicId)
Sets the value of the Applic-ID AVP, of type UTF8String.- Throws:
NullPointerException
- ifapplicId
isnull
.
-
removeApplicId
void removeApplicId()
Removes the Applic-ID AVP from the MMS-Information AVP. If the Applic-ID AVP is not present, this method returns silently.
-
hasReplyApplicId
boolean hasReplyApplicId()
Returns true if the Reply-Applic-ID AVP is present in the MMS-Information AVP.
-
getReplyApplicId
String getReplyApplicId()
Returns the value of the Reply-Applic-ID AVP, of type UTF8String.- Returns:
- the value of the Reply-Applic-ID AVP, or null if it has not been set.
-
setReplyApplicId
void setReplyApplicId(String replyApplicId)
Sets the value of the Reply-Applic-ID AVP, of type UTF8String.- Throws:
NullPointerException
- ifreplyApplicId
isnull
.
-
removeReplyApplicId
void removeReplyApplicId()
Removes the Reply-Applic-ID AVP from the MMS-Information AVP. If the Reply-Applic-ID AVP is not present, this method returns silently.
-
hasAuxApplicInfo
boolean hasAuxApplicInfo()
Returns true if the Aux-Applic-Info AVP is present in the MMS-Information AVP.
-
getAuxApplicInfo
String getAuxApplicInfo()
Returns the value of the Aux-Applic-Info AVP, of type UTF8String.- Returns:
- the value of the Aux-Applic-Info AVP, or null if it has not been set.
-
setAuxApplicInfo
void setAuxApplicInfo(String auxApplicInfo)
Sets the value of the Aux-Applic-Info AVP, of type UTF8String.- Throws:
NullPointerException
- ifauxApplicInfo
isnull
.
-
removeAuxApplicInfo
void removeAuxApplicInfo()
Removes the Aux-Applic-Info AVP from the MMS-Information AVP. If the Aux-Applic-Info AVP is not present, this method returns silently.
-
hasContentClass
boolean hasContentClass()
Returns true if the Content-Class AVP is present in the MMS-Information AVP.
-
getContentClass
ContentClass getContentClass()
Returns the value of the Content-Class AVP, of type Enumerated.- Returns:
- the value of the Content-Class AVP, or null if it has not been set.
-
setContentClass
void setContentClass(ContentClass contentClass)
Sets the value of the Content-Class AVP, of type Enumerated.- Throws:
NullPointerException
- ifcontentClass
isnull
.
-
removeContentClass
void removeContentClass()
Removes the Content-Class AVP from the MMS-Information AVP. If the Content-Class AVP is not present, this method returns silently.
-
hasDrmContent
boolean hasDrmContent()
Returns true if the DRM-Content AVP is present in the MMS-Information AVP.
-
getDrmContent
DrmContent getDrmContent()
Returns the value of the DRM-Content AVP, of type Enumerated.- Returns:
- the value of the DRM-Content AVP, or null if it has not been set.
-
setDrmContent
void setDrmContent(DrmContent drmContent)
Sets the value of the DRM-Content AVP, of type Enumerated.- Throws:
NullPointerException
- ifdrmContent
isnull
.
-
removeDrmContent
void removeDrmContent()
Removes the DRM-Content AVP from the MMS-Information AVP. If the DRM-Content AVP is not present, this method returns silently.
-
hasAdaptations
boolean hasAdaptations()
Returns true if the Adaptations AVP is present in the MMS-Information AVP.
-
getAdaptations
Adaptations getAdaptations()
Returns the value of the Adaptations AVP, of type Enumerated.- Returns:
- the value of the Adaptations AVP, or null if it has not been set.
-
setAdaptations
void setAdaptations(Adaptations adaptations)
Sets the value of the Adaptations AVP, of type Enumerated.- Throws:
NullPointerException
- ifadaptations
isnull
.
-
removeAdaptations
void removeAdaptations()
Removes the Adaptations AVP from the MMS-Information AVP. If the Adaptations AVP is not present, this method returns silently.
-
hasVaspId
boolean hasVaspId()
Returns true if the VASP-Id AVP is present in the MMS-Information AVP.
-
getVaspId
String getVaspId()
Returns the value of the VASP-Id AVP, of type UTF8String.- Returns:
- the value of the VASP-Id AVP, or null if it has not been set.
-
setVaspId
void setVaspId(String vaspId)
Sets the value of the VASP-Id AVP, of type UTF8String.- Throws:
NullPointerException
- ifvaspId
isnull
.
-
removeVaspId
void removeVaspId()
Removes the VASP-Id AVP from the MMS-Information AVP. If the VASP-Id AVP is not present, this method returns silently.
-
hasVasId
boolean hasVasId()
Returns true if the VAS-Id AVP is present in the MMS-Information AVP.
-
getVasId
String getVasId()
Returns the value of the VAS-Id AVP, of type UTF8String.- Returns:
- the value of the VAS-Id AVP, or null if it has not been set.
-
setVasId
void setVasId(String vasId)
Sets the value of the VAS-Id AVP, of type UTF8String.- Throws:
NullPointerException
- ifvasId
isnull
.
-
removeVasId
void removeVasId()
Removes the VAS-Id AVP from the MMS-Information AVP. If the VAS-Id AVP is not present, this method returns silently.
-
getExtensionAvps
DiameterAvp[] getExtensionAvps()
Returns the set of extension AVPs. The returned array contains the extension AVPs in the order they appear in the MMS-Information AVP. A return value of null implies that no extensions AVPs have been set.
-
setExtensionAvps
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
Sets the set of extension AVPs with all the values in the given array. The AVPs will be added to MMS-Information AVP in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getExtensionAvps() is not guaranteed to return the same array instance, e.g. an "==" check would fail.- Throws:
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class (i.e. an AVP for which get/set methods already appear in this class)NullPointerException
- ifavps
isnull
.
-
removeExtensionAvps
void removeExtensionAvps()
Removes all extension AVPs from the MMS-Information AVP. If no extension AVPs are present, this method returns silently.
-
-