BrightSide Workbench Full Report + Source Code
DossierStubverb.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2023 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 java.util.Date;
22 import java.util.Set;
23 import org.turro.dossier.entity.Dossier;
24 import org.turro.dossier.entity.DossierStatus;
25 import org.turro.dossier.entity.DossierType;
26 import org.turro.reflection.stub.DefaultStub;
27 import org.turro.reflection.stub.StubSet;
28 
33 public class DossierStubverb extends DefaultStub {
34 
35  private Long id;
36  private Date creation;
37  private String description;
38  private DossierType type;
39  private DossierStatus status;
40  private ProjectStubverb project;
41  private CategoryStubmin category;
42  private String uniquePath;
43  private boolean publishable;
44  private String searching;
45 
46  private Set<DossierVersionStub> versions = new StubSet<>(DossierVersionStub.class);
47  private Set<ParticipantStubverb> fullRoleParticipants = new StubSet<>(ParticipantStubverb.class);
48  private Set<DescriptorValueStubverb> descriptorValueSet = new StubSet<>(DescriptorValueStubverb.class);
49 
50  public DossierStubverb(Dossier dossier) {
51  silentlyInitializeValues(dossier);
52  }
53 
54  public Long getId() {
55  return id;
56  }
57 
58  public void setId(Long id) {
59  this.id = id;
60  }
61 
62  public Date getCreation() {
63  return creation;
64  }
65 
66  public void setCreation(Date creation) {
67  this.creation = creation;
68  }
69 
70  public String getDescription() {
71  return description;
72  }
73 
74  public void setDescription(String description) {
75  this.description = description;
76  }
77 
78  public DossierType getType() {
79  return type;
80  }
81 
82  public void setType(DossierType type) {
83  this.type = type;
84  }
85 
87  return status;
88  }
89 
90  public void setStatus(DossierStatus status) {
91  this.status = status;
92  }
93 
95  return project;
96  }
97 
98  public void setProject(ProjectStubverb project) {
99  this.project = project;
100  }
101 
103  return category;
104  }
105 
106  public void setCategory(CategoryStubmin category) {
107  this.category = category;
108  }
109 
110  public String getUniquePath() {
111  return uniquePath;
112  }
113 
114  public void setUniquePath(String uniquePath) {
115  this.uniquePath = uniquePath;
116  }
117 
118  public boolean isPublishable() {
119  return publishable;
120  }
121 
122  public void setPublishable(boolean publishable) {
123  this.publishable = publishable;
124  }
125 
126  public String getSearching() {
127  return searching;
128  }
129 
130  public void setSearching(String searching) {
131  this.searching = searching;
132  }
133 
134  public Set<DossierVersionStub> getVersions() {
135  return versions;
136  }
137 
138  public void setVersions(Set<DossierVersionStub> versions) {
139  this.versions = versions;
140  }
141 
142  public Set<ParticipantStubverb> getFullRoleParticipants() {
143  return fullRoleParticipants;
144  }
145 
146  public void setFullRoleParticipants(Set<ParticipantStubverb> fullRoleParticipants) {
147  this.fullRoleParticipants = fullRoleParticipants;
148  }
149 
150  public Set<DescriptorValueStubverb> getDescriptorValueSet() {
151  return descriptorValueSet;
152  }
153 
154  public void setDescriptorValueSet(Set<DescriptorValueStubverb> descriptorValueSet) {
155  this.descriptorValueSet = descriptorValueSet;
156  }
157 
158 }
void setProject(ProjectStubverb project)
Set< ParticipantStubverb > getFullRoleParticipants()
void setFullRoleParticipants(Set< ParticipantStubverb > fullRoleParticipants)
void setPublishable(boolean publishable)
Set< DescriptorValueStubverb > getDescriptorValueSet()
void setCategory(CategoryStubmin category)
void setVersions(Set< DossierVersionStub > versions)
void setDescriptorValueSet(Set< DescriptorValueStubverb > descriptorValueSet)
Set< DossierVersionStub > getVersions()
void setDescription(String description)
void setStatus(DossierStatus status)