Salome HOME
36436abee0c9b8008885b8df538ad4ed700fa650
[modules/gde.git] / projects / GDE-transferables / src / com / edf / gde / transferables / StudyTO.java
1 /*
2  * (C) 2015 EDF
3  */
4 package com.edf.gde.transferables;
5
6 import java.io.Serializable;
7 import java.util.Date;
8
9 /**
10  *
11  * @author F62173
12  */
13 public class StudyTO implements Serializable {
14
15     private static final long serialVersionUID = 1L;
16     private long id;
17     private String name;
18     private Date creationDate;
19     private Date updateDate;
20     private boolean valid;
21     private boolean deleted;
22     private Date deletionDate;
23     private long attributeGroupId;
24     private long profileId;
25     private boolean locked;
26
27     public StudyTO() {
28     }
29
30     public StudyTO(long id, String name, Date creationDate, Date updateDate, boolean valid, boolean deleted, Date deletionDate, long attributeGroupId, long profileId) {
31         this.id = id;
32         this.name = name;
33         this.creationDate = creationDate;
34         this.updateDate = updateDate;
35         this.valid = valid;
36         this.deleted = deleted;
37         this.deletionDate = deletionDate;
38         this.attributeGroupId = attributeGroupId;
39         this.profileId = profileId;
40     }
41
42     public long getId() {
43         return id;
44     }
45
46     public void setId(long id) {
47         this.id = id;
48     }
49
50     public String getName() {
51         return name;
52     }
53
54     public void setName(String name) {
55         this.name = name;
56     }
57
58     public Date getCreationDate() {
59         return creationDate;
60     }
61
62     public void setCreationDate(Date creationDate) {
63         this.creationDate = creationDate;
64     }
65
66     public Date getUpdateDate() {
67         return updateDate;
68     }
69
70     public void setUpdateDate(Date updateDate) {
71         this.updateDate = updateDate;
72     }
73
74     public boolean getValid() {
75         return valid;
76     }
77
78     public void setValid(boolean valid) {
79         this.valid = valid;
80     }
81
82     public boolean getDeleted() {
83         return deleted;
84     }
85
86     public void setDeleted(boolean deleted) {
87         this.deleted = deleted;
88     }
89
90     public Date getDeletionDate() {
91         return deletionDate;
92     }
93
94     public void setDeletionDate(Date deletionDate) {
95         this.deletionDate = deletionDate;
96     }
97
98     public long getAttributeGroupId() {
99         return attributeGroupId;
100     }
101
102     public void setAttributeGroupId(long attributeGroupId) {
103         this.attributeGroupId = attributeGroupId;
104     }
105
106     public long getProfileId() {
107         return profileId;
108     }
109
110     public void setProfileId(long profileId) {
111         this.profileId = profileId;
112     }
113
114     public boolean isLocked() {
115         return locked;
116     }
117
118     public void setLocked(boolean locked) {
119         this.locked = locked;
120     }
121
122 }