BrightSide Workbench Full Report + Source Code
DWDossier.java
Go to the documentation of this file.
1 /*
2  * TurrĂ³ i Cutiller Foundation. License notice.
3  * Copyright (C) 2015 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.dw;
20 
21 import java.util.Date;
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.GenerationType;
26 import javax.persistence.Id;
27 import javax.persistence.Temporal;
28 import org.turro.dossier.entity.DossierStatus;
29 import org.turro.dossier.entity.DossierType;
30 
35 @Entity
36 public class DWDossier implements java.io.Serializable {
37 
38  @Id
39  @GeneratedValue(strategy=GenerationType.IDENTITY)
40  @Column(name="IDENTIFIER")
41  private Long id;
42 
43  private Long dossierId, versionId;
44 
45  @Temporal(value = javax.persistence.TemporalType.TIMESTAMP)
46  private java.util.Date creation;
47 
48  private String description, categoryPath, participantId;
49 
50  private boolean publishable;
51 
52  private DossierType type;
53  private DossierStatus status;
54  private int phase;
55 
56  public Long getId() {
57  return id;
58  }
59 
60  public void setId(Long id) {
61  this.id = id;
62  }
63 
64  public Long getDossierId() {
65  return dossierId;
66  }
67 
68  public void setDossierId(Long dossierId) {
69  this.dossierId = dossierId;
70  }
71 
72  public Long getVersionId() {
73  return versionId;
74  }
75 
76  public void setVersionId(Long versionId) {
77  this.versionId = versionId;
78  }
79 
80  public Date getCreation() {
81  return creation;
82  }
83 
84  public void setCreation(Date creation) {
85  this.creation = creation;
86  }
87 
88  public String getDescription() {
89  return description;
90  }
91 
92  public void setDescription(String description) {
93  this.description = description;
94  }
95 
96  public String getCategoryPath() {
97  return categoryPath;
98  }
99 
100  public void setCategoryPath(String categoryPath) {
101  this.categoryPath = categoryPath;
102  }
103 
104  public String getParticipantId() {
105  return participantId;
106  }
107 
108  public void setParticipantId(String participantId) {
109  this.participantId = participantId;
110  }
111 
112  public boolean isPublishable() {
113  return publishable;
114  }
115 
116  public void setPublishable(boolean publishable) {
117  this.publishable = publishable;
118  }
119 
120  public DossierType getType() {
121  return type;
122  }
123 
124  public void setType(DossierType type) {
125  this.type = type;
126  }
127 
129  return status;
130  }
131 
132  public void setStatus(DossierStatus status) {
133  this.status = status;
134  }
135 
136  public int getPhase() {
137  return phase;
138  }
139 
140  public void setPhase(int phase) {
141  this.phase = phase;
142  }
143 
144 }
void setPublishable(boolean publishable)
Definition: DWDossier.java:116
void setCreation(Date creation)
Definition: DWDossier.java:84
void setType(DossierType type)
Definition: DWDossier.java:124
void setCategoryPath(String categoryPath)
Definition: DWDossier.java:100
void setVersionId(Long versionId)
Definition: DWDossier.java:76
void setDossierId(Long dossierId)
Definition: DWDossier.java:68
void setDescription(String description)
Definition: DWDossier.java:92
void setStatus(DossierStatus status)
Definition: DWDossier.java:132
void setParticipantId(String participantId)
Definition: DWDossier.java:108