2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
6 package com.edf.gde.transferables;
8 import java.io.Serializable;
9 import java.util.Collection;
10 import java.util.Date;
16 public class StudyTO implements Serializable {
18 private static final long serialVersionUID = 1L;
21 private Date creationDate;
22 private Date updateDate;
23 private Boolean valid;
24 private Boolean deleted;
25 private Date deletionDate;
26 private long attributeGroupId;
31 public StudyTO(long id, String name, Date creationDate, Date updateDate, Boolean valid, Boolean deleted, Date deletionDate, long attributeGroupId) {
34 this.creationDate = creationDate;
35 this.updateDate = updateDate;
37 this.deleted = deleted;
38 this.deletionDate = deletionDate;
39 this.attributeGroupId = attributeGroupId;
46 public void setId(long id) {
50 public String getName() {
54 public void setName(String name) {
58 public Date getCreationDate() {
62 public void setCreationDate(Date creationDate) {
63 this.creationDate = creationDate;
66 public Date getUpdateDate() {
70 public void setUpdateDate(Date updateDate) {
71 this.updateDate = updateDate;
74 public Boolean getValid() {
78 public void setValid(Boolean valid) {
82 public Boolean getDeleted() {
86 public void setDeleted(Boolean deleted) {
87 this.deleted = deleted;
90 public Date getDeletionDate() {
94 public void setDeletionDate(Date deletionDate) {
95 this.deletionDate = deletionDate;
98 public long getAttributeGroupId() {
99 return attributeGroupId;
102 public void setAttributeGroupId(long attributeGroupId) {
103 this.attributeGroupId = attributeGroupId;