Guest User

Untitled

a guest
Jan 20th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package be.esi.alg2.saumons.dto;
  6.  
  7. /**
  8. *
  9. * @author LSV
  10. */
  11. public class ParametresDTO {
  12.  
  13. private String nom;
  14. private String comment;
  15. private int reintroduit;
  16. private int anneeDepart;
  17. private int nbAnnee;
  18. private int capacite;
  19. private int anneeCatastrophe;
  20. private int pourcentagePeche;
  21. private int pourcentageMort;
  22.  
  23.  
  24. public ParametresDTO(String nom, String comment, int reintroduit, int anneedepart, int nbAnnee, int capacite,
  25. int anneeCatastrophe, int pourcentPeche, int pourcentMort) {
  26.  
  27. this.nom = nom;
  28. this.comment = comment;
  29. this.reintroduit = reintroduit;
  30. this.anneeDepart = anneedepart;
  31. this.nbAnnee = nbAnnee;
  32. this.capacite = capacite;
  33. this.anneeCatastrophe = anneeCatastrophe;
  34. this.pourcentagePeche = pourcentPeche;
  35. this.pourcentageMort = pourcentMort;
  36. }
  37.  
  38. public int getAnneeCatastrophe() {
  39. return anneeCatastrophe;
  40. }
  41.  
  42. public void setAnneeCatastrophe(int anneeCatastrophe) {
  43. this.anneeCatastrophe = anneeCatastrophe;
  44. }
  45.  
  46. public int getAnneeDepart() {
  47. return anneeDepart;
  48. }
  49.  
  50. public void setAnneeDepart(int anneeDepart) {
  51. this.anneeDepart = anneeDepart;
  52. }
  53.  
  54. public int getCapacite() {
  55. return capacite;
  56. }
  57.  
  58. public void setCapacite(int capacite) {
  59. this.capacite = capacite;
  60. }
  61.  
  62. public String getComment() {
  63. return comment;
  64. }
  65.  
  66. public void setComment(String comment) {
  67. this.comment = comment;
  68. }
  69.  
  70. public int getNbAnnee() {
  71. return nbAnnee;
  72. }
  73.  
  74. public void setNbAnnee(int nbAnnee) {
  75. this.nbAnnee = nbAnnee;
  76. }
  77.  
  78. public String getNom() {
  79. return nom;
  80. }
  81.  
  82. public void setNom(String nom) {
  83. this.nom = nom;
  84. }
  85.  
  86. public int getPourcentageMort() {
  87. return pourcentageMort;
  88. }
  89.  
  90. public void setPourcentageMort(int pourcentageMort) {
  91. this.pourcentageMort = pourcentageMort;
  92. }
  93.  
  94. public int getPourcentagePeche() {
  95. return pourcentagePeche;
  96. }
  97.  
  98. public void setPourcentagePeche(int pourcentagePeche) {
  99. this.pourcentagePeche = pourcentagePeche;
  100. }
  101.  
  102. public int getReintroduit() {
  103. return reintroduit;
  104. }
  105.  
  106. public void setReintroduit(int reintroduit) {
  107. this.reintroduit = reintroduit;
  108. }
  109.  
  110.  
  111. }
Add Comment
Please, Sign In to add comment