TradeItem.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * This program is free software: you can redistribute it and/or modify it under
  3. * the terms of the GNU General Public License as published by the Free Software
  4. * Foundation, either version 3 of the License, or (at your option) any later
  5. * version.
  6. *
  7. * This program is distributed in the hope that it will be useful, but WITHOUT
  8. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10. * details.
  11. *
  12. * You should have received a copy of the GNU General Public License along with
  13. * this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. package com.l2jserver.gameserver.model;
  16. /**
  17. * This class ...
  18. *
  19. * @version $Revision: 1.2.4.1 $ $Date: 2005/03/27 15:29:32 $
  20. */
  21. public final class TradeItem
  22. {
  23. private int _objectId;
  24. private int _itemId;
  25. private long _price;
  26. private long _storePrice;
  27. private long _count;
  28. private int _enchantLevel;
  29. public TradeItem() {}
  30. public void setObjectId(int id)
  31. {
  32. _objectId = id;
  33. }
  34. public int getObjectId()
  35. {
  36. return _objectId;
  37. }
  38. public void setItemId(int id)
  39. {
  40. _itemId = id;
  41. }
  42. public int getItemId()
  43. {
  44. return _itemId;
  45. }
  46. public void setOwnersPrice(long price)
  47. {
  48. _price = price;
  49. }
  50. public long getOwnersPrice()
  51. {
  52. return _price;
  53. }
  54. public void setstorePrice(long price)
  55. {
  56. _storePrice = price;
  57. }
  58. public long getStorePrice()
  59. {
  60. return _storePrice;
  61. }
  62. public void setCount(long count)
  63. {
  64. _count = count;
  65. }
  66. public long getCount()
  67. {
  68. return _count;
  69. }
  70. public void setEnchantLevel(int enchant)
  71. {
  72. _enchantLevel = enchant;
  73. }
  74. public int getEnchantLevel()
  75. {
  76. return _enchantLevel;
  77. }
  78. }