/build.properties/src/com/framedobjects/dashwell/biz/RecycleBinItem.java

http://mobiledatanow.googlecode.com/ · Java · 43 lines · 28 code · 8 blank · 7 comment · 0 complexity · ded784ec66a5adc4ed4ae9c8eb5d304e MD5 · raw file

  1. package com.framedobjects.dashwell.biz;
  2. /**
  3. * Represents an item in the recycle bin. Each item consists of a name, type
  4. * id, whereby the id and type is used to correctly identify a row in the
  5. * database.
  6. * @author Jens Richnow
  7. *
  8. */
  9. public class RecycleBinItem {
  10. private String name = null;
  11. private int id = 0;
  12. private String type = null;
  13. private int projectId = 1;
  14. public RecycleBinItem(int id, String type, String name, int projectId){
  15. this.id = id;
  16. this.type = type;
  17. this.name = name;
  18. this.projectId = projectId;
  19. }
  20. public int getId() {
  21. return id;
  22. }
  23. public String getName() {
  24. return name;
  25. }
  26. public String getType() {
  27. return type;
  28. }
  29. public int getProjectId() {
  30. return projectId;
  31. }
  32. public void setProjectId(int projectId) {
  33. this.projectId = projectId;
  34. }
  35. }