|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.MMSInformation
public class MMSInformation
MMSInformation is a lightweight representation of the Grouped [MMS-Information] Avp. It is used to record accounting and charging information that is specific to the Multimedia Messaging service (MMS).
The [MMS-Information] Avp is defined by the 3GPP in ETSI TS 132 299 V6.9.0 (2006-12) - Diameter charging applications.
Constructor Summary | |
---|---|
MMSInformation()
Constructs an empty MMSInformation object representing the [MMS-Information] Avp. |
|
MMSInformation(java.util.List<Avp> avps)
Constructs a MMSInformation object representing the Grouped [MMS-Information] Avp. |
Method Summary | |
---|---|
java.lang.Integer |
getAdaptations()
Gets the value corresponding to the payload of the [Adaptations] Avp. |
java.lang.String |
getApplicId()
Gets the value corresponding to the payload of the [Applic-Id] Avp. |
java.lang.String |
getAuxApplicInfo()
Gets the value corresponding to the payload of the [Aux-Applic-Info] Avp. |
java.lang.Integer |
getContentClass()
Gets the value corresponding to the payload of the [Content-Class] Avp. |
java.lang.Integer |
getDeliveryReportRequested()
Gets the value corresponding to the payload of the [Delivery-Report-Requested] Avp. |
java.lang.Integer |
getDrmContent()
Gets the value corresponding to the payload of the [DRM-Content] Avp. |
MessageClass |
getMessageClass()
Gets the value corresponding to the payload of the [Message-Class] Avp. |
java.lang.String |
getMessageId()
Gets the value corresponding to the payload of the [Message-Id] Avp. |
java.lang.Integer |
getMessageSize()
Gets the value corresponding to the payload of the [Message-Size] Avp. |
java.lang.Integer |
getMessageType()
Gets the value corresponding to the payload of the [Message-Type] Avp. |
java.lang.Integer |
getMmboxStorageRequested()
Gets the value corresponding to the payload of the [MMBox-Storage-Requested] Avp. |
MMContentType |
getMmContentType()
Gets the value corresponding to the payload of the [MM-Content-Type] Avp. |
OriginatorAddress |
getOriginatorAddress()
Gets the value corresponding to the payload of the [Originator-Address] Avp. |
java.lang.Integer |
getPriority()
Gets the value corresponding to the payload of the [Priority] Avp. |
java.lang.Integer |
getReadReplyReportRequested()
Gets the value corresponding to the payload of the [Read-Reply-Report-Requested] Avp. |
RecipientAddress[] |
getRecipientAddresses()
Gets the values corresponding to the payloads of the [Recipient-Address] Avps. |
java.lang.String |
getReplyApplicId()
Gets the value corresponding to the payload of the [Reply-Applic-Id] Avp. |
java.lang.Long |
getSubmissionTime()
Gets the value corresponding to the payload of the [Submission-Time] Avp. |
java.lang.String |
getVasId()
Gets the value corresponding to the payload of the [Vas-Id] Avp. |
java.lang.String |
getVaspId()
Gets the value corresponding to the payload of the [Vasp-Id] Avp. |
void |
setAdaptations(java.lang.Integer adaptations)
Sets the value corresponding to the payload of the [Adaptations] Avp. |
void |
setApplicId(java.lang.String applicId)
Sets the value corresponding to the payload of the [Applic-Id] Avp. |
void |
setAuxApplicInfo(java.lang.String auxApplicInfo)
Sets the value corresponding to the payload of the [Aux-Applic-Info] Avp. |
void |
setContentClass(java.lang.Integer contentClass)
Sets the value corresponding to the payload of the [Content-Class] Avp. |
void |
setDeliveryReportRequested(java.lang.Integer deliveryReportRequested)
Sets the value corresponding to the payload of the [Delivery-Report-Requested] Avp. |
void |
setDrmContent(java.lang.Integer drmContent)
Sets the value corresponding to the payload of the [DRM-Content] Avp. |
void |
setMessageClass(MessageClass messageClass)
Sets the value corresponding to the payload of the [Message-Class] Avp. |
void |
setMessageId(java.lang.String messageId)
Sets the value corresponding to the payload of the [Message-Id] Avp. |
void |
setMessageSize(java.lang.Integer messageSize)
Sets the value corresponding to the payload of the [Message-Size] Avp. |
void |
setMessageType(java.lang.Integer messageType)
Sets the value corresponding to the payload of the [Message-Type] Avp. |
void |
setMmboxStorageRequested(java.lang.Integer mmboxStorageRequested)
Sets the value corresponding to the payload of the [MMBox-Storage-Requested] Avp. |
void |
setMmContentType(MMContentType mmContentType)
Sets the value corresponding to the payload of the [MM-Content-Type] Avp. |
void |
setOriginatorAddress(OriginatorAddress originatorAddress)
Sets the value corresponding to the payload of the [Originator-Address] Avp. |
void |
setPriority(java.lang.Integer priority)
Sets the value corresponding to the payload of the [Priority] Avp. |
void |
setReadReplyReportRequested(java.lang.Integer readReplyReportRequested)
Sets the value corresponding to the payload of the [Read-Reply-Report-Requested] Avp. |
void |
setRecipientAddresses(RecipientAddress[] recipientAddresses)
Sets the values corresponding to the payloads of the [Recipient-Address] Avps. |
void |
setReplyApplicId(java.lang.String replyApplicId)
Sets the value corresponding to the payload of the [Reply-Applic-Id] Avp. |
void |
setSubmissionTime(java.lang.Long submissionTime)
Sets the value corresponding to the payload of the [Submission-Time] Avp. |
void |
setVasId(java.lang.String vasId)
Sets the value corresponding to the payload of the [Vas-Id] Avp. |
void |
setVaspId(java.lang.String vaspId)
Sets the value corresponding to the payload of the [Vasp-Id] Avp. |
Avp |
toAvp()
Transforms a MMSInformation object into a Grouped [MMS-Information] Avp. |
void |
validate()
Validates the members of the MMSInformation object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMSInformation()
public MMSInformation(java.util.List<Avp> avps) throws AvpTransformationException
The method takes a List of Avps as an input. If an Avp code inside the list corresponds to a member of MMSInformation, the member will be populated with the Avp value during construction. If an Avp code is unknown, the value will be silently discarded.
avps
- a list of Avps that can appear in the Grouped
[MMS-Information] Avp.
AvpTransformationException
- if the Avp value is in an unexpected format.Method Detail |
---|
public java.lang.Integer getAdaptations()
public void setAdaptations(java.lang.Integer adaptations)
adaptations
- the value corresponding to the payload of the [Adaptations] Avp.public java.lang.String getApplicId()
public void setApplicId(java.lang.String applicId)
applicId
- the value corresponding to the payload of the [Applic-Id] Avp.public java.lang.String getAuxApplicInfo()
public void setAuxApplicInfo(java.lang.String auxApplicInfo)
auxApplicInfo
- the value corresponding to the payload of the [Aux-Applic-Info] Avp.public java.lang.Integer getContentClass()
public void setContentClass(java.lang.Integer contentClass)
contentClass
- the value corresponding to the payload of the [Content-Class] Avp.public java.lang.Integer getDeliveryReportRequested()
public void setDeliveryReportRequested(java.lang.Integer deliveryReportRequested)
deliveryReportRequested
- the value corresponding to the payload of the [Delivery-Report-Requested] Avp.public java.lang.Integer getDrmContent()
public void setDrmContent(java.lang.Integer drmContent)
drmContent
- the value corresponding to the payload of the [DRM-Content] Avp.public MessageClass getMessageClass()
public void setMessageClass(MessageClass messageClass)
messageClass
- the value corresponding to the payload of the [Message-Class] Avp.public java.lang.String getMessageId()
public void setMessageId(java.lang.String messageId)
messageId
- the value corresponding to the payload of the [Message-Id] Avp.public java.lang.Integer getMessageSize()
public void setMessageSize(java.lang.Integer messageSize)
messageSize
- the value corresponding to the payload of the [Message-Size] Avp.public java.lang.Integer getMessageType()
public void setMessageType(java.lang.Integer messageType)
messageType
- the value corresponding to the payload of the [Message-Type] Avp.public java.lang.Integer getMmboxStorageRequested()
public void setMmboxStorageRequested(java.lang.Integer mmboxStorageRequested)
mmboxStorageRequested
- the value corresponding to the payload of the [MMBox-Storage-Requested] Avp.public MMContentType getMmContentType()
public void setMmContentType(MMContentType mmContentType)
mmContentType
- the value corresponding to the payload of the [MM-Content-Type] Avp.public OriginatorAddress getOriginatorAddress()
public void setOriginatorAddress(OriginatorAddress originatorAddress)
originatorAddress
- the value corresponding to the payload of the [Originator-Address] Avp.public java.lang.Integer getPriority()
public void setPriority(java.lang.Integer priority)
priority
- the value corresponding to the payload of the [Priority] Avp.public java.lang.Integer getReadReplyReportRequested()
public void setReadReplyReportRequested(java.lang.Integer readReplyReportRequested)
readReplyReportRequested
- the value corresponding to the payload of the [Read-Reply-Report-Requested] Avp.public RecipientAddress[] getRecipientAddresses()
public void setRecipientAddresses(RecipientAddress[] recipientAddresses)
recipientAddresses
- the values corresponding to the payloads of the [Recipient-Address] Avps.public java.lang.String getReplyApplicId()
public void setReplyApplicId(java.lang.String replyApplicId)
replyApplicId
- the value corresponding to the payload of the [Reply-Applic-Id] Avp.public java.lang.Long getSubmissionTime()
public void setSubmissionTime(java.lang.Long submissionTime)
submissionTime
- the value corresponding to the payload of the [Submission-Time] Avp.public java.lang.String getVasId()
public void setVasId(java.lang.String vasId)
vasId
- the value corresponding to the payload of the [Vas-Id] Avp.public java.lang.String getVaspId()
public void setVaspId(java.lang.String vaspId)
vaspId
- the value corresponding to the payload of the [Vasp-Id] Avp.public void validate() throws ChargingValidationException
ChargingValidationException
- if a member of MMSInformation is in an unexpected format.public Avp toAvp() throws AvpTransformationException
All non-null members of MMSInformation will be transformed into Avps nested inside of the [MMS-Information] Avp.
AvpTransformationException
- if a member of MMSInformation is in an
unexpected format.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |