You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Item.java 835B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. public class Item
  2. {
  3. private Integer id;
  4. private String name;
  5. private boolean portableFlag;
  6. private boolean hiddenFlag;
  7. private String description;
  8. public Item(Integer i, String n, boolean portable, boolean hidden, String desc)
  9. {
  10. id = i;
  11. name = n;
  12. portableFlag = portable;
  13. hiddenFlag = hidden;
  14. description = desc;
  15. }
  16. public Item()
  17. {
  18. }
  19. public String getDescription()
  20. {
  21. return description;
  22. }
  23. public String getName() {
  24. return name;
  25. }
  26. public boolean isPortableFlag() {
  27. return portableFlag;
  28. }
  29. public boolean isHiddenFlag() {
  30. return hiddenFlag;
  31. }
  32. public Integer getId()
  33. {
  34. return id;
  35. }
  36. }