PageRenderTime 47ms 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/PsInformationImpl.java

http://mobicents.googlecode.com/
Java | 476 lines | 193 code | 67 blank | 216 comment | 0 complexity | bc9126e8fc1c0fcdb9bf23db6d617ae0 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 net.java.slee.resource.diameter.base.events.avp.Address;
  24. import net.java.slee.resource.diameter.rf.events.avp.PsFurnishChargingInformation;
  25. import net.java.slee.resource.diameter.rf.events.avp.PsInformation;
  26. import org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl;
  27. /**
  28. * PsInformationImpl.java
  29. *
  30. * <br>Project: mobicents
  31. * <br>1:18:52 PM Apr 13, 2009
  32. * <br>
  33. * @author <a href="mailto:brainslog@gmail.com"> Alexandre Mendonca </a>
  34. */
  35. public class PsInformationImpl extends GroupedAvpImpl implements PsInformation {
  36. public PsInformationImpl() {
  37. super();
  38. }
  39. /**
  40. * @param code
  41. * @param vendorId
  42. * @param mnd
  43. * @param prt
  44. * @param value
  45. */
  46. public PsInformationImpl( int code, long vendorId, int mnd, int prt, byte[] value ) {
  47. super( code, vendorId, mnd, prt, value );
  48. }
  49. /* (non-Javadoc)
  50. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getCgAddress()
  51. */
  52. public Address getCgAddress() {
  53. return getAvpAsAddress(DiameterRfAvpCodes.CG_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  54. }
  55. /* (non-Javadoc)
  56. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getChargingRuleBaseName()
  57. */
  58. public String getChargingRuleBaseName() {
  59. return getAvpAsUTF8String(DiameterRfAvpCodes.CHARGING_RULE_BASE_NAME, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  60. }
  61. /* (non-Javadoc)
  62. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getGgsnAddress()
  63. */
  64. public Address getGgsnAddress() {
  65. return getAvpAsAddress(DiameterRfAvpCodes.GGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  66. }
  67. /* (non-Javadoc)
  68. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getPdpAddress()
  69. */
  70. public Address getPdpAddress() {
  71. return getAvpAsAddress(DiameterRfAvpCodes.PDP_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  72. }
  73. /* (non-Javadoc)
  74. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getPsFurnishChargingInformation()
  75. */
  76. public PsFurnishChargingInformation getPsFurnishChargingInformation() {
  77. return (PsFurnishChargingInformation) getAvpAsCustom(DiameterRfAvpCodes.PS_FURNISH_CHARGING_INFORMATION, DiameterRfAvpCodes.TGPP_VENDOR_ID, PsFurnishChargingInformationImpl.class);
  78. }
  79. /* (non-Javadoc)
  80. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getSgsnAddress()
  81. */
  82. public Address getSgsnAddress() {
  83. return getAvpAsAddress(DiameterRfAvpCodes.SGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  84. }
  85. /* (non-Javadoc)
  86. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppCamelChargingInfo()
  87. */
  88. public byte[] getTgppCamelChargingInfo() {
  89. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_CAMEL_CHARGING_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  90. }
  91. /* (non-Javadoc)
  92. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppChargingCharacteristics()
  93. */
  94. public String getTgppChargingCharacteristics() {
  95. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_CHARGING_CHARACTERISTICS, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  96. }
  97. /* (non-Javadoc)
  98. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppChargingId()
  99. */
  100. public byte[] getTgppChargingId() {
  101. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_CHARGING_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  102. }
  103. /* (non-Javadoc)
  104. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppGgsnMccMnc()
  105. */
  106. public String getTgppGgsnMccMnc() {
  107. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_GGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  108. }
  109. /* (non-Javadoc)
  110. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppGprsNegotiatedQosProfile()
  111. */
  112. public String getTgppGprsNegotiatedQosProfile() {
  113. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_GPRS_NEGOTIATED_QOS_PROFILE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  114. }
  115. /* (non-Javadoc)
  116. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppImsiMccMnc()
  117. */
  118. public String getTgppImsiMccMnc() {
  119. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_IMSI_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  120. }
  121. /* (non-Javadoc)
  122. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppMsTimezone()
  123. */
  124. public byte[] getTgppMsTimezone() {
  125. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_MS_TIMEZONE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  126. }
  127. /* (non-Javadoc)
  128. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppNsapi()
  129. */
  130. public byte[] getTgppNsapi() {
  131. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_NSAPI, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  132. }
  133. /* (non-Javadoc)
  134. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppPdpType()
  135. */
  136. public byte[] getTgppPdpType() {
  137. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_PDP_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  138. }
  139. /* (non-Javadoc)
  140. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppRatType()
  141. */
  142. public byte[] getTgppRatType() {
  143. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_RAT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  144. }
  145. /* (non-Javadoc)
  146. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppSelectionMode()
  147. */
  148. public String getTgppSelectionMode() {
  149. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_SELECTION_MODE, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  150. }
  151. /* (non-Javadoc)
  152. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppSessionStopIndicator()
  153. */
  154. public byte[] getTgppSessionStopIndicator() {
  155. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_SESSION_STOP_INDICATOR, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  156. }
  157. /* (non-Javadoc)
  158. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppSgsnMccMnc()
  159. */
  160. public String getTgppSgsnMccMnc() {
  161. return getAvpAsUTF8String(DiameterRfAvpCodes.TGPP_SGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  162. }
  163. /* (non-Javadoc)
  164. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#getTgppUserLocationInfo()
  165. */
  166. public byte[] getTgppUserLocationInfo() {
  167. return getAvpAsOctetString(DiameterRfAvpCodes.TGPP_USER_LOCATION_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID);
  168. }
  169. /* (non-Javadoc)
  170. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasCgAddress()
  171. */
  172. public boolean hasCgAddress() {
  173. return hasAvp( DiameterRfAvpCodes.CG_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  174. }
  175. /* (non-Javadoc)
  176. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasChargingRuleBaseName()
  177. */
  178. public boolean hasChargingRuleBaseName() {
  179. return hasAvp( DiameterRfAvpCodes.CHARGING_RULE_BASE_NAME, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  180. }
  181. /* (non-Javadoc)
  182. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasGgsnAddress()
  183. */
  184. public boolean hasGgsnAddress() {
  185. return hasAvp( DiameterRfAvpCodes.GGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  186. }
  187. /* (non-Javadoc)
  188. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasPdpAddress()
  189. */
  190. public boolean hasPdpAddress() {
  191. return hasAvp( DiameterRfAvpCodes.PDP_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  192. }
  193. /* (non-Javadoc)
  194. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasPsFurnishChargingInformation()
  195. */
  196. public boolean hasPsFurnishChargingInformation() {
  197. return hasAvp( DiameterRfAvpCodes.PS_FURNISH_CHARGING_INFORMATION, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  198. }
  199. /* (non-Javadoc)
  200. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasSgsnAddress()
  201. */
  202. public boolean hasSgsnAddress() {
  203. return hasAvp( DiameterRfAvpCodes.SGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  204. }
  205. /* (non-Javadoc)
  206. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppCamelChargingInfo()
  207. */
  208. public boolean hasTgppCamelChargingInfo() {
  209. return hasAvp( DiameterRfAvpCodes.TGPP_CAMEL_CHARGING_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  210. }
  211. /* (non-Javadoc)
  212. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppChargingCharacteristics()
  213. */
  214. public boolean hasTgppChargingCharacteristics() {
  215. return hasAvp( DiameterRfAvpCodes.TGPP_CHARGING_CHARACTERISTICS, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  216. }
  217. /* (non-Javadoc)
  218. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppChargingId()
  219. */
  220. public boolean hasTgppChargingId() {
  221. return hasAvp( DiameterRfAvpCodes.TGPP_CHARGING_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  222. }
  223. /* (non-Javadoc)
  224. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppGgsnMccMnc()
  225. */
  226. public boolean hasTgppGgsnMccMnc() {
  227. return hasAvp( DiameterRfAvpCodes.TGPP_GGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  228. }
  229. /* (non-Javadoc)
  230. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppGprsNegotiatedQosProfile()
  231. */
  232. public boolean hasTgppGprsNegotiatedQosProfile() {
  233. return hasAvp( DiameterRfAvpCodes.TGPP_GPRS_NEGOTIATED_QOS_PROFILE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  234. }
  235. /* (non-Javadoc)
  236. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppImsiMccMnc()
  237. */
  238. public boolean hasTgppImsiMccMnc() {
  239. return hasAvp( DiameterRfAvpCodes.TGPP_IMSI_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  240. }
  241. /* (non-Javadoc)
  242. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppMsTimezone()
  243. */
  244. public boolean hasTgppMsTimezone() {
  245. return hasAvp( DiameterRfAvpCodes.TGPP_MS_TIMEZONE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  246. }
  247. /* (non-Javadoc)
  248. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppNsapi()
  249. */
  250. public boolean hasTgppNsapi() {
  251. return hasAvp( DiameterRfAvpCodes.TGPP_NSAPI, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  252. }
  253. /* (non-Javadoc)
  254. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppPdpType()
  255. */
  256. public boolean hasTgppPdpType() {
  257. return hasAvp( DiameterRfAvpCodes.TGPP_PDP_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  258. }
  259. /* (non-Javadoc)
  260. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppRatType()
  261. */
  262. public boolean hasTgppRatType() {
  263. return hasAvp( DiameterRfAvpCodes.TGPP_RAT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  264. }
  265. /* (non-Javadoc)
  266. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppSelectionMode()
  267. */
  268. public boolean hasTgppSelectionMode() {
  269. return hasAvp( DiameterRfAvpCodes.TGPP_SELECTION_MODE, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  270. }
  271. /* (non-Javadoc)
  272. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppSessionStopIndicator()
  273. */
  274. public boolean hasTgppSessionStopIndicator() {
  275. return hasAvp( DiameterRfAvpCodes.TGPP_SESSION_STOP_INDICATOR, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  276. }
  277. /* (non-Javadoc)
  278. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppSgsnMccMnc()
  279. */
  280. public boolean hasTgppSgsnMccMnc() {
  281. return hasAvp( DiameterRfAvpCodes.TGPP_SGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  282. }
  283. /* (non-Javadoc)
  284. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#hasTgppUserLocationInfo()
  285. */
  286. public boolean hasTgppUserLocationInfo() {
  287. return hasAvp( DiameterRfAvpCodes.TGPP_USER_LOCATION_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID );
  288. }
  289. /* (non-Javadoc)
  290. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setCgAddress(net.java.slee.resource.diameter.base.events.avp.Address)
  291. */
  292. public void setCgAddress( Address cgAddress ) {
  293. addAvp(DiameterRfAvpCodes.CG_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, cgAddress.encode());
  294. }
  295. /* (non-Javadoc)
  296. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setChargingRuleBaseName(String)
  297. */
  298. public void setChargingRuleBaseName( String chargingRuleBaseName ) {
  299. addAvp(DiameterRfAvpCodes.CHARGING_RULE_BASE_NAME, DiameterRfAvpCodes.TGPP_VENDOR_ID, chargingRuleBaseName);
  300. }
  301. /* (non-Javadoc)
  302. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setGgsnAddress(net.java.slee.resource.diameter.base.events.avp.Address)
  303. */
  304. public void setGgsnAddress( Address ggsnAddress ) {
  305. addAvp(DiameterRfAvpCodes.GGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, ggsnAddress.encode());
  306. }
  307. /* (non-Javadoc)
  308. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setPdpAddress(net.java.slee.resource.diameter.base.events.avp.Address)
  309. */
  310. public void setPdpAddress( Address pdpAddress ) {
  311. addAvp(DiameterRfAvpCodes.PDP_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, pdpAddress.encode());
  312. }
  313. /* (non-Javadoc)
  314. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setPsFurnishChargingInformation(net.java.slee.resource.diameter.rf.events.avp.PsFurnishChargingInformation)
  315. */
  316. public void setPsFurnishChargingInformation( PsFurnishChargingInformation psFurnishChargingInformation ) {
  317. addAvp(DiameterRfAvpCodes.PS_FURNISH_CHARGING_INFORMATION, DiameterRfAvpCodes.TGPP_VENDOR_ID, psFurnishChargingInformation.byteArrayValue());
  318. }
  319. /* (non-Javadoc)
  320. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setSgsnAddress(net.java.slee.resource.diameter.base.events.avp.Address)
  321. */
  322. public void setSgsnAddress( Address sgsnAddress ) {
  323. addAvp(DiameterRfAvpCodes.SGSN_ADDRESS, DiameterRfAvpCodes.TGPP_VENDOR_ID, sgsnAddress.encode());
  324. }
  325. /* (non-Javadoc)
  326. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppCamelChargingInfo(String)
  327. */
  328. public void setTgppCamelChargingInfo( byte[] tgppCamelChargingInfo ) {
  329. addAvp(DiameterRfAvpCodes.TGPP_CAMEL_CHARGING_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppCamelChargingInfo);
  330. }
  331. /* (non-Javadoc)
  332. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppChargingCharacteristics(String)
  333. */
  334. public void setTgppChargingCharacteristics( String tgppChargingCharacteristics ) {
  335. addAvp(DiameterRfAvpCodes.TGPP_CHARGING_CHARACTERISTICS, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppChargingCharacteristics);
  336. }
  337. /* (non-Javadoc)
  338. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppChargingId(String)
  339. */
  340. public void setTgppChargingId( byte[] tgppChargingId ) {
  341. addAvp(DiameterRfAvpCodes.TGPP_CHARGING_ID, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppChargingId);
  342. }
  343. /* (non-Javadoc)
  344. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppGgsnMccMnc(String)
  345. */
  346. public void setTgppGgsnMccMnc( String tgppGgsnMccMnc ) {
  347. addAvp(DiameterRfAvpCodes.TGPP_GGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppGgsnMccMnc);
  348. }
  349. /* (non-Javadoc)
  350. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppGprsNegotiatedQosProfile(String)
  351. */
  352. public void setTgppGprsNegotiatedQosProfile( String tgppGprsNegotiatedQosProfile ) {
  353. addAvp(DiameterRfAvpCodes.TGPP_GPRS_NEGOTIATED_QOS_PROFILE, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppGprsNegotiatedQosProfile);
  354. }
  355. /* (non-Javadoc)
  356. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppImsiMccMnc(String)
  357. */
  358. public void setTgppImsiMccMnc( String tgppImsiMccMnc ) {
  359. addAvp(DiameterRfAvpCodes.TGPP_IMSI_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppImsiMccMnc);
  360. }
  361. /* (non-Javadoc)
  362. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppMsTimezone(String)
  363. */
  364. public void setTgppMsTimezone( byte[] tgppMsTimezone ) {
  365. addAvp(DiameterRfAvpCodes.TGPP_MS_TIMEZONE, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppMsTimezone);
  366. }
  367. /* (non-Javadoc)
  368. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppNsapi(String)
  369. */
  370. public void setTgppNsapi( byte[] tgppNsapi ) {
  371. addAvp(DiameterRfAvpCodes.TGPP_NSAPI, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppNsapi);
  372. }
  373. /* (non-Javadoc)
  374. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppPdpType(String)
  375. */
  376. public void setTgppPdpType( byte[] tgppPdpType ) {
  377. addAvp(DiameterRfAvpCodes.TGPP_PDP_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppPdpType);
  378. }
  379. /* (non-Javadoc)
  380. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppRatType(String)
  381. */
  382. public void setTgppRatType( byte[] tgppPdpType ) {
  383. addAvp(DiameterRfAvpCodes.TGPP_RAT_TYPE, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppPdpType);
  384. }
  385. /* (non-Javadoc)
  386. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppSelectionMode(String)
  387. */
  388. public void setTgppSelectionMode( String tgppSelectionMode ) {
  389. addAvp(DiameterRfAvpCodes.TGPP_SELECTION_MODE, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppSelectionMode);
  390. }
  391. /* (non-Javadoc)
  392. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppSessionStopIndicator(String)
  393. */
  394. public void setTgppSessionStopIndicator( byte[] tgppSessionStopIndicator ) {
  395. addAvp(DiameterRfAvpCodes.TGPP_SESSION_STOP_INDICATOR, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppSessionStopIndicator);
  396. }
  397. /* (non-Javadoc)
  398. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppSgsnMccMnc(String)
  399. */
  400. public void setTgppSgsnMccMnc( String tgppSgsnMccMnc ) {
  401. addAvp(DiameterRfAvpCodes.TGPP_SGSN_MCC_MNC, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppSgsnMccMnc);
  402. }
  403. /* (non-Javadoc)
  404. * @see net.java.slee.resource.diameter.rf.events.avp.PsInformation#setTgppUserLocationInfo(String)
  405. */
  406. public void setTgppUserLocationInfo( byte[] tgppUserLocationInfo ) {
  407. addAvp(DiameterRfAvpCodes.TGPP_USER_LOCATION_INFO, DiameterRfAvpCodes.TGPP_VENDOR_ID, tgppUserLocationInfo);
  408. }
  409. }