TradeItem.java 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. {
  31. }
  32. public void setObjectId(int id)
  33. {
  34. _objectId = id;
  35. }
  36. public int getObjectId()
  37. {
  38. return _objectId;
  39. }
  40. public void setItemId(int id)
  41. {
  42. _itemId = id;
  43. }
  44. public int getItemId()
  45. {
  46. return _itemId;
  47. }
  48. public void setOwnersPrice(long price)
  49. {
  50. _price = price;
  51. }
  52. public long getOwnersPrice()
  53. {
  54. return _price;
  55. }
  56. public void setstorePrice(long price)
  57. {
  58. _storePrice = price;
  59. }
  60. public long getStorePrice()
  61. {
  62. return _storePrice;
  63. }
  64. public void setCount(long count)
  65. {
  66. _count = count;
  67. }
  68. public long getCount()
  69. {
  70. return _count;
  71. }
  72. public void setEnchantLevel(int enchant)
  73. {
  74. _enchantLevel = enchant;
  75. }
  76. public int getEnchantLevel()
  77. {
  78. return _enchantLevel;
  79. }
  80. }