comparison src/main/java/de/mpiwg/gazetteer/bo/LGFile.java @ 27:3b3e2963c8f7 dev_dataverse4

new: rewrite LGServices for LGDataverse with the new dataverse, dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 16:33:31 +0200
parents 3e62083dbcbf
children 2e1662afc81c
comparison
equal deleted inserted replaced
26:ce2e3f2814c0 27:3b3e2963c8f7
22 22
23 //many files can have the same fileId 23 //many files can have the same fileId
24 @Column(name="branchId") 24 @Column(name="branchId")
25 private Long branchId; 25 private Long branchId;
26 26
27 //if this file has been exported to DV, here is saved the id. 27 //if this file has been exported to DV, here is saved the id (for dataset)
28 @Column(name="dvId") 28 @Column(name="dvId")
29 private Long dvId; 29 private Long dvId;
30 30
31 @Column(name="version") 31 @Column(name="version")
32 private Integer version = 0; 32 private Integer version = 0;
44 @Column(name="notes") 44 @Column(name="notes")
45 private String notes; 45 private String notes;
46 46
47 @Transient 47 @Transient
48 private String content; 48 private String content;
49
50 // if the file has been exported to DV, here is the datasetTitle
51 @Column(name="datasetTitle")
52 private String datasetTitle;
53
49 54
50 public Long getDvId() { 55 public Long getDvId() {
51 return dvId; 56 return dvId;
52 } 57 }
53 58
129 134
130 @Override 135 @Override
131 public String toString(){ 136 public String toString(){
132 return "LGFile [id=" + id + ", branchId=" + branchId + ", fileName=" + fileName + "]"; 137 return "LGFile [id=" + id + ", branchId=" + branchId + ", fileName=" + fileName + "]";
133 } 138 }
139
140 public String getDatasetTitle() {
141 return datasetTitle;
142 }
143
144 public void setDatasetTitle(String datasetTitle) {
145 this.datasetTitle = datasetTitle;
146 }
147
148
134 } 149 }