]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE_App/GDE-ejb/src/java/com/edf/gde/transferables/FileTO.java
Salome HOME
New named query in UserGroup
[modules/gde.git] / projects / GDE_App / GDE-ejb / src / java / com / edf / gde / transferables / FileTO.java
1 /*
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.
5  */
6 package com.edf.gde.transferables;
7
8 import java.io.Serializable;
9 import java.util.Collection;
10 import java.util.Date;
11
12 /**
13  *
14  * @author F62173
15  */
16 public class FileTO implements Serializable {
17     
18     private static final long serialVersionUID = 1L;
19     private long id;
20     private String name;
21     private long length;
22     private String checksum;
23     private Date creationDate;
24     private Date updateDate;
25     private Boolean valid;
26     private Boolean deleted;
27     private Date deletionDate;
28     private long attributeGroupId;
29     private Collection<ChunkTO> chunkCollection;
30     private long dataProfileId;
31
32     public FileTO() {
33     }
34
35     public FileTO(long id, String name, long length, String checksum, Date creationDate, Date updateDate, Boolean valid, Boolean deleted, Date deletionDate, long attributeGroupId, Collection<ChunkTO> chunkCollection, long dataProfileId) {
36         this.id = id;
37         this.name = name;
38         this.length = length;
39         this.checksum = checksum;
40         this.creationDate = creationDate;
41         this.updateDate = updateDate;
42         this.valid = valid;
43         this.deleted = deleted;
44         this.deletionDate = deletionDate;
45         this.attributeGroupId = attributeGroupId;
46         this.chunkCollection = chunkCollection;
47         this.dataProfileId = dataProfileId;
48     }
49
50     public long getId() {
51         return id;
52     }
53
54     public void setId(long id) {
55         this.id = id;
56     }
57
58     public String getName() {
59         return name;
60     }
61
62     public void setName(String name) {
63         this.name = name;
64     }
65
66     public long getLength() {
67         return length;
68     }
69
70     public void setLength(long length) {
71         this.length = length;
72     }
73
74     public String getChecksum() {
75         return checksum;
76     }
77
78     public void setChecksum(String checksum) {
79         this.checksum = checksum;
80     }
81
82     public Date getCreationDate() {
83         return creationDate;
84     }
85
86     public void setCreationDate(Date creationDate) {
87         this.creationDate = creationDate;
88     }
89
90     public Date getUpdateDate() {
91         return updateDate;
92     }
93
94     public void setUpdateDate(Date updateDate) {
95         this.updateDate = updateDate;
96     }
97
98     public Boolean getValid() {
99         return valid;
100     }
101
102     public void setValid(Boolean valid) {
103         this.valid = valid;
104     }
105
106     public Boolean getDeleted() {
107         return deleted;
108     }
109
110     public void setDeleted(Boolean deleted) {
111         this.deleted = deleted;
112     }
113
114     public Date getDeletionDate() {
115         return deletionDate;
116     }
117
118     public void setDeletionDate(Date deletionDate) {
119         this.deletionDate = deletionDate;
120     }
121
122     public long getAttributeGroupId() {
123         return attributeGroupId;
124     }
125
126     public void setAttributeGroupId(long attributeGroupId) {
127         this.attributeGroupId = attributeGroupId;
128     }
129
130     public Collection<ChunkTO> getChunkCollection() {
131         return chunkCollection;
132     }
133
134     public void setChunkCollection(Collection<ChunkTO> chunkCollection) {
135         this.chunkCollection = chunkCollection;
136     }
137
138     public long getDataProfileId() {
139         return dataProfileId;
140     }
141
142     public void setDataProfileId(long dataProfileId) {
143         this.dataProfileId = dataProfileId;
144     }
145
146 }