BrightSide Workbench Full Report + Source Code
DossierStubmin.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2022 Lluis TurrĂ³ Cutiller <http://www.turro.org/>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 package org.turro.dossier.stub;
20 
21 import org.turro.dossier.entity.Dossier;
22 import org.turro.dossier.entity.DossierStatus;
23 import org.turro.dossier.entity.DossierType;
24 import org.turro.reflection.stub.DefaultStub;
25 
30 public class DossierStubmin extends DefaultStub {
31 
32  private Long id;
33  private String description;
34  private DossierType type;
35  private DossierStatus status;
36  private ProjectStubmin project;
37  private String searching;
38 
39  public DossierStubmin(Dossier dossier) {
40  silentlyInitializeValues(dossier);
41  }
42 
43  public Long getId() {
44  return id;
45  }
46 
47  public void setId(Long id) {
48  this.id = id;
49  }
50 
51  public String getDescription() {
52  return description;
53  }
54 
55  public void setDescription(String description) {
56  this.description = description;
57  }
58 
59  public DossierType getType() {
60  return type;
61  }
62 
63  public void setType(DossierType type) {
64  this.type = type;
65  }
66 
68  return status;
69  }
70 
71  public void setStatus(DossierStatus status) {
72  this.status = status;
73  }
74 
76  return project;
77  }
78 
79  public void setProject(ProjectStubmin project) {
80  this.project = project;
81  }
82 
83  public String getSearching() {
84  return searching;
85  }
86 
87  public void setSearching(String searching) {
88  this.searching = searching;
89  }
90 
91 }
void setStatus(DossierStatus status)
void setDescription(String description)
void setProject(ProjectStubmin project)