2
0

L2ManufactureList.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. import java.util.List;
  17. import javolution.util.FastList;
  18. /**
  19. * This class ...
  20. *
  21. * @version $Revision: 1.1.2.1.2.2 $ $Date: 2005/03/27 15:29:33 $
  22. */
  23. public class L2ManufactureList
  24. {
  25. private List<L2ManufactureItem> _list;
  26. private boolean _confirmed;
  27. private String _manufactureStoreName;
  28. public L2ManufactureList()
  29. {
  30. _list = new FastList<L2ManufactureItem>();
  31. _confirmed = false;
  32. }
  33. public int size()
  34. {
  35. return _list.size();
  36. }
  37. public void setConfirmedTrade(boolean x)
  38. {
  39. _confirmed = x;
  40. }
  41. public boolean hasConfirmed()
  42. {
  43. return _confirmed;
  44. }
  45. /**
  46. * @param _manufactureStoreName The _manufactureStoreName to set.
  47. */
  48. public void setStoreName(String manufactureStoreName)
  49. {
  50. _manufactureStoreName = manufactureStoreName;
  51. }
  52. /**
  53. * @return Returns the _manufactureStoreName.
  54. */
  55. public String getStoreName()
  56. {
  57. return _manufactureStoreName;
  58. }
  59. public void add(L2ManufactureItem item)
  60. {
  61. _list.add(item);
  62. }
  63. public List<L2ManufactureItem> getList()
  64. {
  65. return _list;
  66. }
  67. public void setList(List<L2ManufactureItem> list)
  68. {
  69. _list = list;
  70. }
  71. }