diff 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
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/gazetteer/bo/LGFile.java	Tue Jun 30 14:31:29 2015 +0200
+++ b/src/main/java/de/mpiwg/gazetteer/bo/LGFile.java	Tue Sep 08 16:33:31 2015 +0200
@@ -24,7 +24,7 @@
 	@Column(name="branchId")
 	private Long branchId;
 	
-	//if this file has been exported to DV, here is saved the id.
+	//if this file has been exported to DV, here is saved the id (for dataset)
 	@Column(name="dvId")
 	private Long dvId;
 	
@@ -47,6 +47,11 @@
 	@Transient
 	private String content;
 	
+	// if the file has been exported to DV, here is the datasetTitle
+	@Column(name="datasetTitle")
+	private String datasetTitle;
+	
+	
 	public Long getDvId() {
 		return dvId;
 	}
@@ -131,4 +136,14 @@
 	public String toString(){
 		return "LGFile [id=" + id + ", branchId=" + branchId + ", fileName=" + fileName + "]";
 	}
+
+	public String getDatasetTitle() {
+		return datasetTitle;
+	}
+
+	public void setDatasetTitle(String datasetTitle) {
+		this.datasetTitle = datasetTitle;
+	}
+
+	
 }