]> SALOME platform Git repositories - modules/gde.git/blob - projects/GDE_App/GDE-ejb/src/java/com/edf/gde/transferables/FileTO.java
Salome HOME
Add study
[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
31     public FileTO() {
32     }
33
34     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) {
35         this.id = id;
36         this.name = name;
37         this.length = length;
38         this.checksum = checksum;
39         this.creationDate = creationDate;
40         this.updateDate = updateDate;
41         this.valid = valid;
42         this.deleted = deleted;
43         this.deletionDate = deletionDate;
44         this.attributeGroupId = attributeGroupId;
45         this.chunkCollection = chunkCollection;
46     }
47
48     public long getId() {
49         return id;
50     }
51
52     public void setId(long id) {
53         this.id = id;
54     }
55
56     public String getName() {
57         return name;
58     }
59
60     public void setName(String name) {
61         this.name = name;
62     }
63
64     public long getLength() {
65         return length;
66     }
67
68     public void setLength(long length) {
69         this.length = length;
70     }
71
72     public String getChecksum() {
73         return checksum;
74     }
75
76     public void setChecksum(String checksum) {
77         this.checksum = checksum;
78     }
79
80     public Date getCreationDate() {
81         return creationDate;
82     }
83
84     public void setCreationDate(Date creationDate) {
85         this.creationDate = creationDate;
86     }
87
88     public Date getUpdateDate() {
89         return updateDate;
90     }
91
92     public void setUpdateDate(Date updateDate) {
93         this.updateDate = updateDate;
94     }
95
96     public Boolean getValid() {
97         return valid;
98     }
99
100     public void setValid(Boolean valid) {
101         this.valid = valid;
102     }
103
104     public Boolean getDeleted() {
105         return deleted;
106     }
107
108     public void setDeleted(Boolean deleted) {
109         this.deleted = deleted;
110     }
111
112     public Date getDeletionDate() {
113         return deletionDate;
114     }
115
116     public void setDeletionDate(Date deletionDate) {
117         this.deletionDate = deletionDate;
118     }
119
120     public long getAttributeGroupId() {
121         return attributeGroupId;
122     }
123
124     public void setAttributeGroupId(long attributeGroupId) {
125         this.attributeGroupId = attributeGroupId;
126     }
127
128     public Collection<ChunkTO> getChunkCollection() {
129         return chunkCollection;
130     }
131
132     public void setChunkCollection(Collection<ChunkTO> chunkCollection) {
133         this.chunkCollection = chunkCollection;
134     }
135
136 }