ProcesDTO.java 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. package es.uv.saic.dto;
  2. import es.uv.saic.domain.Proces;
  3. public class ProcesDTO {
  4. private Integer idProces;
  5. private String nomProces;
  6. private Integer lugar;
  7. private Integer lugar2;
  8. private String tambit;
  9. private Integer cursAvaluat;
  10. private String versio;
  11. private String titolCas;
  12. private String titolVal;
  13. private String ambit;
  14. public ProcesDTO() {
  15. }
  16. public ProcesDTO(Integer idProces, String nomProces, Integer lugar, Integer lugar2, String tambit,
  17. Integer cursAvaluat, String versio, String titolCas, String titolVal, String ambit) {
  18. this.idProces = idProces;
  19. this.nomProces = nomProces;
  20. this.lugar = lugar;
  21. this.lugar2 = lugar2;
  22. this.tambit = tambit;
  23. this.cursAvaluat = cursAvaluat;
  24. this.versio = versio;
  25. this.titolCas = titolCas;
  26. this.titolVal = titolVal;
  27. this.ambit = ambit;
  28. }
  29. public ProcesDTO(Proces proces) {
  30. this.idProces = proces.getIdProces();
  31. this.nomProces = proces.getNomProces();
  32. this.tambit = proces.getAmbit();
  33. this.cursAvaluat = proces.getCursAvaluat();
  34. this.versio = proces.getVersio();
  35. this.titolCas = proces.getTitolCas();
  36. this.titolVal = proces.getTitolVal();
  37. this.ambit = proces.getAmbit();
  38. }
  39. public Integer getIdProces() {
  40. return idProces;
  41. }
  42. public void setIdProces(Integer idProces) {
  43. this.idProces = idProces;
  44. }
  45. public String getNomProces() {
  46. return nomProces;
  47. }
  48. public Integer getLugar() {
  49. return lugar;
  50. }
  51. public Integer getLugar2() {
  52. return lugar2;
  53. }
  54. public String getTambit() {
  55. return tambit;
  56. }
  57. public void setNomProces(String nomProces) {
  58. this.nomProces = nomProces;
  59. }
  60. public void setLugar(Integer lugar) {
  61. this.lugar = lugar;
  62. }
  63. public void setLugar2(Integer lugar2) {
  64. this.lugar2 = lugar2;
  65. }
  66. public void setTambit(String tambit) {
  67. this.tambit = tambit;
  68. }
  69. public Integer getCursAvaluat() {
  70. return cursAvaluat;
  71. }
  72. public void setCursAvaluat(Integer cursAvaluat) {
  73. this.cursAvaluat = cursAvaluat;
  74. }
  75. public String getVersio() {
  76. return versio;
  77. }
  78. public void setVersio(String versio) {
  79. this.versio = versio;
  80. }
  81. public String getTitolVal() {
  82. return titolVal;
  83. }
  84. public void setTitolVal(String titolVal) {
  85. this.titolVal = titolVal;
  86. }
  87. public String getTitolCas() {
  88. return titolCas;
  89. }
  90. public void setTitolCas(String titolCas) {
  91. this.titolCas = titolCas;
  92. }
  93. public String getAmbit() {
  94. return ambit;
  95. }
  96. public void setAmbit(String ambit) {
  97. this.ambit = ambit;
  98. }
  99. }