Mercurial > hg > LGDataverses
diff src/main/java/edu/harvard/iq/dataverse/DatasetTopicClass.java @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Tue, 08 Sep 2015 17:00:21 +0200 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/edu/harvard/iq/dataverse/DatasetTopicClass.java Tue Sep 08 17:00:21 2015 +0200 @@ -0,0 +1,77 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +package edu.harvard.iq.dataverse; + +import javax.persistence.Column; +import javax.persistence.Version; + +/** + * + * @author skraffmiller + */ +public class DatasetTopicClass { + + private DatasetVersion datasetVersion; + public DatasetVersion getDatasetVersion() { + return datasetVersion; + } + public void setDatasetVersion(DatasetVersion metadata) { + this.datasetVersion = metadata; + } + + private int displayOrder; + public int getDisplayOrder() { + return this.displayOrder; + } + public void setDisplayOrder(int displayOrder) { + this.displayOrder = displayOrder; + } + + private DatasetField value; + public DatasetField getValue() { + return this.value; + } + public void setValue(DatasetField value) { + this.value = value; + } + + private Long version; + public Long getVersion() { + return this.version; + } + public void setVersion(Long version) { + this.version = version; + } + + private DatasetField vocab; + public DatasetField getVocab() { + return this.vocab; + } + public void setVocab(DatasetField vocab) { + this.vocab = vocab; + } + + private DatasetField vocabURI; + public DatasetField getVocabURI() { + return this.vocabURI; + } + public void setVocabURI(DatasetField vocabURI) { + this.vocabURI = vocabURI; + } + + + + public boolean isEmpty() {/* + return ((value==null || value.getValue().trim().equals("")) + && (vocab==null || vocab.getValue().trim().equals("")) + && (vocabURI==null || vocabURI.getValue().trim().equals("")));*/ + return false; + } + + + +}
