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;
27 private long profileId;
32 public StudyTO(long id, String name, Date creationDate, Date updateDate, Boolean valid, Boolean deleted, Date deletionDate, long attributeGroupId, long profileId) {
35 this.creationDate = creationDate;
36 this.updateDate = updateDate;
38 this.deleted = deleted;
39 this.deletionDate = deletionDate;
40 this.attributeGroupId = attributeGroupId;
41 this.profileId = profileId;
48 public void setId(long id) {
52 public String getName() {
56 public void setName(String name) {
60 public Date getCreationDate() {
64 public void setCreationDate(Date creationDate) {
65 this.creationDate = creationDate;
68 public Date getUpdateDate() {
72 public void setUpdateDate(Date updateDate) {
73 this.updateDate = updateDate;
76 public Boolean getValid() {
80 public void setValid(Boolean valid) {
84 public Boolean getDeleted() {
88 public void setDeleted(Boolean deleted) {
89 this.deleted = deleted;
92 public Date getDeletionDate() {
96 public void setDeletionDate(Date deletionDate) {
97 this.deletionDate = deletionDate;
100 public long getAttributeGroupId() {
101 return attributeGroupId;
104 public void setAttributeGroupId(long attributeGroupId) {
105 this.attributeGroupId = attributeGroupId;
108 public long getProfileId() {
112 public void setProfileId(long profileId) {
113 this.profileId = profileId;