PageRenderTime 32ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/servers/jain-slee/resources/diameter-rf/events/src/main/java/org/mobicents/slee/resource/diameter/rf/events/avp/MmsInformationImpl.java

http://mobicents.googlecode.com/
Java | 468 lines | 196 code | 65 blank | 207 comment | 1 complexity | 7a35d7ed759a260fc7d47f74bc46f075 MD5 | raw file
Possible License(s): LGPL-3.0, GPL-3.0, LGPL-2.1, GPL-2.0, CC-BY-SA-3.0, CC0-1.0, Apache-2.0, BSD-3-Clause
  1. /*
  2. * JBoss, Home of Professional Open Source
  3. * Copyright 2011, Red Hat, Inc. and individual contributors
  4. * by the @authors tag. See the copyright.txt in the distribution for a
  5. * full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. package org.mobicents.slee.resource.diameter.rf.events.avp;
  23. import java.util.Date;
  24. import net.java.slee.resource.diameter.rf.events.avp.Adaptations;
  25. import net.java.slee.resource.diameter.rf.events.avp.ContentClass;
  26. import net.java.slee.resource.diameter.rf.events.avp.DeliveryReportRequested;
  27. import net.java.slee.resource.diameter.rf.events.avp.DrmContent;
  28. import net.java.slee.resource.diameter.rf.events.avp.MessageClass;
  29. import net.java.slee.resource.diameter.rf.events.avp.MessageType;
  30. import net.java.slee.resource.diameter.rf.events.avp.MmContentType;
  31. import net.java.slee.resource.diameter.rf.events.avp.MmsInformation;
  32. import net.java.slee.resource.diameter.rf.events.avp.OriginatorAddress;
  33. import net.java.slee.resource.diameter.rf.events.avp.Priority;
  34. import net.java.slee.resource.diameter.rf.events.avp.ReadReplyReportRequested;
  35. import net.java.slee.resource.diameter.rf.events.avp.RecipientAddress;
  36. import org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl;
  37. /**
  38. * MmsInformationImpl.java
  39. *
  40. * <br>Project: mobicents
  41. * <br>9:33:22 AM Apr 13, 2009
  42. * <br>
  43. * @author <a href="mailto:brainslog@gmail.com"> Alexandre Mendonca </a>
  44. */
  45. public class MmsInformationImpl extends GroupedAvpImpl implements MmsInformation {
  46. public MmsInformationImpl() {
  47. super();
  48. }
  49. /**
  50. * @param code
  51. * @param vendorId
  52. * @param mnd
  53. * @param prt
  54. * @param value
  55. */
  56. public MmsInformationImpl( int code, long vendorId, int mnd, int prt, byte[] value ) {
  57. super( code, vendorId, mnd, prt, value );
  58. }
  59. /* (non-Javadoc)
  60. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getAdaptations()
  61. */
  62. public Adaptations getAdaptations() {
  63. return (Adaptations) getAvpAsEnumerated(DiameterRfAvpCodes.ADAPTATIONS, DiameterRfAvpCodes.TGPP_VENDOR_ID, Adaptations.class);
  64. }
  65. /* (non-Javadoc)
  66. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getApplicId()
  67. */
  68. public String getApplicId() {
  69. return getAvpAsUTF8String(DiameterRfAvpCodes.APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  70. }
  71. /* (non-Javadoc)
  72. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getAuxApplicInfo()
  73. */
  74. public String getAuxApplicInfo() {
  75. return getAvpAsUTF8String(DiameterRfAvpCodes.AUX_APPLIC_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  76. }
  77. /* (non-Javadoc)
  78. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getContentClass()
  79. */
  80. public ContentClass getContentClass() {
  81. return (ContentClass) getAvpAsEnumerated(DiameterRfAvpCodes.CONTENT_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID, ContentClass.class);
  82. }
  83. /* (non-Javadoc)
  84. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getDeliveryReportRequested()
  85. */
  86. public DeliveryReportRequested getDeliveryReportRequested() {
  87. return (DeliveryReportRequested) getAvpAsEnumerated(DiameterRfAvpCodes.DELIVERY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID, DeliveryReportRequested.class);
  88. }
  89. /* (non-Javadoc)
  90. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getDrmContent()
  91. */
  92. public DrmContent getDrmContent() {
  93. return (DrmContent) getAvpAsEnumerated(DiameterRfAvpCodes.DRM_CONTENT, DiameterRfAvpCodes.TGPP_VENDOR_ID, DrmContent.class);
  94. }
  95. /* (non-Javadoc)
  96. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getMessageClass()
  97. */
  98. public MessageClass getMessageClass() {
  99. return (MessageClass) getAvpAsCustom(DiameterRfAvpCodes.MESSAGE_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID, MessageClassImpl.class);
  100. }
  101. /* (non-Javadoc)
  102. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getMessageId()
  103. */
  104. public String getMessageId() {
  105. return getAvpAsUTF8String(DiameterRfAvpCodes.MESSAGE_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  106. }
  107. /* (non-Javadoc)
  108. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getMessageSize()
  109. */
  110. public long getMessageSize() {
  111. return getAvpAsUnsigned32(DiameterRfAvpCodes.MESSAGE_SIZE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  112. }
  113. /* (non-Javadoc)
  114. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getMessageType()
  115. */
  116. public MessageType getMessageType() {
  117. return (MessageType) getAvpAsEnumerated(DiameterRfAvpCodes.MESSAGE_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, MessageType.class);
  118. }
  119. /* (non-Javadoc)
  120. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getMmContentType()
  121. */
  122. public MmContentType getMmContentType() {
  123. return (MmContentType) getAvpAsCustom(DiameterRfAvpCodes.MM_CONTENT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, MmContentTypeImpl.class);
  124. }
  125. /* (non-Javadoc)
  126. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getOriginatorAddress()
  127. */
  128. public OriginatorAddress getOriginatorAddress() {
  129. return (OriginatorAddress) getAvpAsCustom(DiameterRfAvpCodes.ORIGINATOR_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, OriginatorAddressImpl.class);
  130. }
  131. /* (non-Javadoc)
  132. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getPriority()
  133. */
  134. public Priority getPriority() {
  135. return (Priority) getAvpAsEnumerated(DiameterRfAvpCodes.PRIORITY, DiameterRfAvpCodes.TGPP_VENDOR_ID, Priority.class);
  136. }
  137. /* (non-Javadoc)
  138. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getReadReplyReportRequested()
  139. */
  140. public ReadReplyReportRequested getReadReplyReportRequested() {
  141. return (ReadReplyReportRequested) getAvpAsEnumerated(DiameterRfAvpCodes.READ_REPLY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID, ReadReplyReportRequested.class);
  142. }
  143. /* (non-Javadoc)
  144. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getRecipientAddresses()
  145. */
  146. public RecipientAddress[] getRecipientAddresses() {
  147. return (RecipientAddress[]) getAvpsAsCustom(DiameterRfAvpCodes.RECIPIENT_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, RecipientAddressImpl.class);
  148. }
  149. /* (non-Javadoc)
  150. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getReplyApplicId()
  151. */
  152. public String getReplyApplicId() {
  153. return getAvpAsUTF8String(DiameterRfAvpCodes.REPLY_APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  154. }
  155. /* (non-Javadoc)
  156. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getSubmissionTime()
  157. */
  158. public Date getSubmissionTime() {
  159. return getAvpAsTime(DiameterRfAvpCodes.SUBMISSION_TIME, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  160. }
  161. /* (non-Javadoc)
  162. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getVasId()
  163. */
  164. public String getVasId() {
  165. return getAvpAsUTF8String(DiameterRfAvpCodes.VAS_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  166. }
  167. /* (non-Javadoc)
  168. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#getVaspId()
  169. */
  170. public String getVaspId() {
  171. return getAvpAsUTF8String(DiameterRfAvpCodes.VASP_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  172. }
  173. /* (non-Javadoc)
  174. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasAdaptations()
  175. */
  176. public boolean hasAdaptations() {
  177. return hasAvp( DiameterRfAvpCodes.ADAPTATIONS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  178. }
  179. /* (non-Javadoc)
  180. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasApplicId()
  181. */
  182. public boolean hasApplicId() {
  183. return hasAvp( DiameterRfAvpCodes.APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  184. }
  185. /* (non-Javadoc)
  186. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasAuxApplicInfo()
  187. */
  188. public boolean hasAuxApplicInfo() {
  189. return hasAvp( DiameterRfAvpCodes.AUX_APPLIC_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  190. }
  191. /* (non-Javadoc)
  192. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasContentClass()
  193. */
  194. public boolean hasContentClass() {
  195. return hasAvp( DiameterRfAvpCodes.CONTENT_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  196. }
  197. /* (non-Javadoc)
  198. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasDeliveryReportRequested()
  199. */
  200. public boolean hasDeliveryReportRequested() {
  201. return hasAvp( DiameterRfAvpCodes.DELIVERY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  202. }
  203. /* (non-Javadoc)
  204. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasDrmContent()
  205. */
  206. public boolean hasDrmContent() {
  207. return hasAvp( DiameterRfAvpCodes.DRM_CONTENT, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  208. }
  209. /* (non-Javadoc)
  210. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasMessageClass()
  211. */
  212. public boolean hasMessageClass() {
  213. return hasAvp( DiameterRfAvpCodes.MESSAGE_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  214. }
  215. /* (non-Javadoc)
  216. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasMessageId()
  217. */
  218. public boolean hasMessageId() {
  219. return hasAvp( DiameterRfAvpCodes.MESSAGE_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  220. }
  221. /* (non-Javadoc)
  222. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasMessageSize()
  223. */
  224. public boolean hasMessageSize() {
  225. return hasAvp( DiameterRfAvpCodes.MESSAGE_SIZE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  226. }
  227. /* (non-Javadoc)
  228. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasMessageType()
  229. */
  230. public boolean hasMessageType() {
  231. return hasAvp( DiameterRfAvpCodes.MESSAGE_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  232. }
  233. /* (non-Javadoc)
  234. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasMmContentType()
  235. */
  236. public boolean hasMmContentType() {
  237. return hasAvp( DiameterRfAvpCodes.MM_CONTENT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  238. }
  239. /* (non-Javadoc)
  240. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasOriginatorAddress()
  241. */
  242. public boolean hasOriginatorAddress() {
  243. return hasAvp( DiameterRfAvpCodes.ORIGINATOR_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  244. }
  245. /* (non-Javadoc)
  246. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasPriority()
  247. */
  248. public boolean hasPriority() {
  249. return hasAvp( DiameterRfAvpCodes.PRIORITY, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  250. }
  251. /* (non-Javadoc)
  252. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasReadReplyReportRequested()
  253. */
  254. public boolean hasReadReplyReportRequested() {
  255. return hasAvp( DiameterRfAvpCodes.READ_REPLY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  256. }
  257. /* (non-Javadoc)
  258. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasReplyApplicId()
  259. */
  260. public boolean hasReplyApplicId() {
  261. return hasAvp( DiameterRfAvpCodes.REPLY_APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  262. }
  263. /* (non-Javadoc)
  264. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasSubmissionTime()
  265. */
  266. public boolean hasSubmissionTime() {
  267. return hasAvp( DiameterRfAvpCodes.SUBMISSION_TIME, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  268. }
  269. /* (non-Javadoc)
  270. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasVasId()
  271. */
  272. public boolean hasVasId() {
  273. return hasAvp( DiameterRfAvpCodes.VAS_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  274. }
  275. /* (non-Javadoc)
  276. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#hasVaspId()
  277. */
  278. public boolean hasVaspId() {
  279. return hasAvp( DiameterRfAvpCodes.VASP_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  280. }
  281. /* (non-Javadoc)
  282. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setAdaptations(net.java.slee.resource.diameter.rf.events.avp.Adaptations)
  283. */
  284. public void setAdaptations( Adaptations adaptations ) {
  285. addAvp(DiameterRfAvpCodes.ADAPTATIONS, DiameterRfAvpCodes.TGPP_VENDOR_ID, adaptations.getValue());
  286. }
  287. /* (non-Javadoc)
  288. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setApplicId(String)
  289. */
  290. public void setApplicId( String applicId ) {
  291. addAvp(DiameterRfAvpCodes.APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, applicId);
  292. }
  293. /* (non-Javadoc)
  294. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setAuxApplicInfo(String)
  295. */
  296. public void setAuxApplicInfo( String auxApplicInfo ) {
  297. addAvp(DiameterRfAvpCodes.AUX_APPLIC_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID, auxApplicInfo);
  298. }
  299. /* (non-Javadoc)
  300. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setContentClass(net.java.slee.resource.diameter.rf.events.avp.ContentClass)
  301. */
  302. public void setContentClass( ContentClass contentClass ) {
  303. addAvp(DiameterRfAvpCodes.CONTENT_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID, contentClass.getValue());
  304. }
  305. /* (non-Javadoc)
  306. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setDeliveryReportRequested(net.java.slee.resource.diameter.rf.events.avp.DeliveryReportRequested)
  307. */
  308. public void setDeliveryReportRequested( DeliveryReportRequested deliveryReportRequested ) {
  309. addAvp(DiameterRfAvpCodes.DELIVERY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID, deliveryReportRequested.getValue());
  310. }
  311. /* (non-Javadoc)
  312. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setDrmContent(net.java.slee.resource.diameter.rf.events.avp.DrmContent)
  313. */
  314. public void setDrmContent( DrmContent drmContent ) {
  315. addAvp(DiameterRfAvpCodes.DRM_CONTENT, DiameterRfAvpCodes.TGPP_VENDOR_ID, drmContent.getValue());
  316. }
  317. /* (non-Javadoc)
  318. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setMessageClass(net.java.slee.resource.diameter.rf.events.avp.MessageClass)
  319. */
  320. public void setMessageClass( MessageClass messageClass ) {
  321. addAvp(DiameterRfAvpCodes.MESSAGE_CLASS, DiameterRfAvpCodes.TGPP_VENDOR_ID, messageClass.byteArrayValue());
  322. }
  323. /* (non-Javadoc)
  324. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setMessageId(String)
  325. */
  326. public void setMessageId( String messageId ) {
  327. addAvp(DiameterRfAvpCodes.MESSAGE_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, messageId);
  328. }
  329. /* (non-Javadoc)
  330. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setMessageSize(long)
  331. */
  332. public void setMessageSize( long messageSize ) {
  333. addAvp(DiameterRfAvpCodes.MESSAGE_SIZE, DiameterRfAvpCodes.TGPP_VENDOR_ID, messageSize);
  334. }
  335. /* (non-Javadoc)
  336. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setMessageType(net.java.slee.resource.diameter.rf.events.avp.MessageType)
  337. */
  338. public void setMessageType( MessageType messageType ) {
  339. addAvp(DiameterRfAvpCodes.MESSAGE_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, messageType.getValue());
  340. }
  341. /* (non-Javadoc)
  342. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setMmContentType(net.java.slee.resource.diameter.rf.events.avp.MmContentType)
  343. */
  344. public void setMmContentType( MmContentType mmContentType ) {
  345. addAvp(DiameterRfAvpCodes.MM_CONTENT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, mmContentType.byteArrayValue());
  346. }
  347. /* (non-Javadoc)
  348. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setOriginatorAddress(net.java.slee.resource.diameter.rf.events.avp.OriginatorAddress)
  349. */
  350. public void setOriginatorAddress( OriginatorAddress originatorAddress ) {
  351. addAvp(DiameterRfAvpCodes.ORIGINATOR_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, originatorAddress.byteArrayValue());
  352. }
  353. /* (non-Javadoc)
  354. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setPriority(net.java.slee.resource.diameter.rf.events.avp.Priority)
  355. */
  356. public void setPriority( Priority priority ) {
  357. addAvp(DiameterRfAvpCodes.PRIORITY, DiameterRfAvpCodes.TGPP_VENDOR_ID, priority.getValue());
  358. }
  359. /* (non-Javadoc)
  360. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setReadReplyReportRequested(net.java.slee.resource.diameter.rf.events.avp.ReadReplyReportRequested)
  361. */
  362. public void setReadReplyReportRequested( ReadReplyReportRequested readReplyReportRequested ) {
  363. addAvp(DiameterRfAvpCodes.READ_REPLY_REPORT_REQUESTED, DiameterRfAvpCodes.TGPP_VENDOR_ID, readReplyReportRequested.getValue());
  364. }
  365. /* (non-Javadoc)
  366. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setRecipientAddress(net.java.slee.resource.diameter.rf.events.avp.RecipientAddress)
  367. */
  368. public void setRecipientAddress( RecipientAddress recipientAddress ) {
  369. addAvp(DiameterRfAvpCodes.RECIPIENT_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, recipientAddress.byteArrayValue());
  370. }
  371. /* (non-Javadoc)
  372. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setRecipientAddresses(net.java.slee.resource.diameter.rf.events.avp.RecipientAddress[])
  373. */
  374. public void setRecipientAddresses( RecipientAddress[] recipientAddresses ) {
  375. for(RecipientAddress recipientAddress : recipientAddresses) {
  376. setRecipientAddress(recipientAddress);
  377. }
  378. }
  379. /* (non-Javadoc)
  380. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setReplyApplicId(String)
  381. */
  382. public void setReplyApplicId( String replyApplicId ) {
  383. addAvp(DiameterRfAvpCodes.REPLY_APPLIC_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, replyApplicId);
  384. }
  385. /* (non-Javadoc)
  386. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setSubmissionTime(java.util.Date)
  387. */
  388. public void setSubmissionTime( Date submissionTime ) {
  389. addAvp(DiameterRfAvpCodes.SUBMISSION_TIME, DiameterRfAvpCodes.TGPP_VENDOR_ID, submissionTime);
  390. }
  391. /* (non-Javadoc)
  392. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setVasId(String)
  393. */
  394. public void setVasId( String vasId ) {
  395. addAvp(DiameterRfAvpCodes.VAS_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, vasId);
  396. }
  397. /* (non-Javadoc)
  398. * @see net.java.slee.resource.diameter.rf.events.avp.MmsInformation#setVaspId(String)
  399. */
  400. public void setVaspId( String vaspId ) {
  401. addAvp(DiameterRfAvpCodes.VASP_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, vaspId);
  402. }
  403. }