view src/main/java/edu/harvard/iq/dataverse/DatasetTopicClass.java @ 14:be7787c36e58 default tip

new: nofity LGSercies for deleted files
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 02 Nov 2015 16:41:23 +0100
parents a50cf11e5178
children
line wrap: on
line source

/*
 * 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;
    }

  
    
}