first commit · stacksync/commons@7c214dc · GitHub
Skip to content

Commit 7c214dc

Browse files
author
Adrian Moreno
committed
first commit
0 parents  commit 7c214dc

7 files changed

Lines changed: 581 additions & 0 deletions

File tree

pom.xml

Lines changed: 62 additions & 0 deletions
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
package com.stacksync.syncservice.models;
2+
3+
import java.io.Serializable;
4+
5+
6+
public class CommitInfo implements Serializable {
7+
8+
/**
9+
*
10+
*/
11+
private static final long serialVersionUID = 1L;
12+
private long fileId;
13+
private String rootId;
14+
private long version;
15+
private boolean committed;
16+
private ObjectMetadata metadata;
17+
18+
public CommitInfo(long fileId, String rootId, long version, boolean committed,
19+
ObjectMetadata metadata) {
20+
21+
this.fileId = fileId;
22+
this.rootId = rootId;
23+
this.version = version;
24+
this.committed = committed;
25+
this.metadata = metadata;
26+
27+
}
28+
29+
public long getFileId() {
30+
return fileId;
31+
}
32+
33+
public void setFileId(long fileId) {
34+
this.fileId = fileId;
35+
}
36+
37+
public String getRootId() {
38+
return rootId;
39+
}
40+
41+
public void setRootId(String rootId) {
42+
this.rootId = rootId;
43+
}
44+
45+
public long getVersion() {
46+
return version;
47+
}
48+
49+
public void setVersion(long version) {
50+
this.version = version;
51+
}
52+
53+
public boolean isCommitted() {
54+
return committed;
55+
}
56+
57+
public void setCommitted(boolean committed) {
58+
this.committed = committed;
59+
}
60+
61+
public ObjectMetadata getMetadata() {
62+
return metadata;
63+
}
64+
65+
public void setMetadata(ObjectMetadata metadata) {
66+
this.metadata = metadata;
67+
}
68+
69+
}
Lines changed: 43 additions & 0 deletions

0 commit comments

Comments
 (0)