You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
1.5 KiB
Java
84 lines
1.5 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.datacatalogue.metadatadiscovery;
|
|
|
|
import java.util.List;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
|
|
|
/**
|
|
* The Class MetadataVocabulary.
|
|
*
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
|
|
* May 27, 2016
|
|
*/
|
|
@XmlRootElement(name = "metadatavocabulary")
|
|
@XmlAccessorType (XmlAccessType.FIELD)
|
|
public class MetadataVocabulary {
|
|
|
|
private List<String> vocabularyField;
|
|
|
|
/**
|
|
* Instantiates a new metadata vocabulary.
|
|
*/
|
|
public MetadataVocabulary() {
|
|
|
|
super();
|
|
}
|
|
|
|
|
|
/**
|
|
* Instantiates a new metadata vocabulary.
|
|
*
|
|
* @param vocabularyFields the vocabulary fields
|
|
*/
|
|
public MetadataVocabulary(List<String> vocabularyFields) {
|
|
|
|
super();
|
|
this.vocabularyField = vocabularyFields;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Gets the vocabulary fields.
|
|
*
|
|
* @return the vocabularyField
|
|
*/
|
|
public List<String> getVocabularyFields() {
|
|
|
|
return vocabularyField;
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* Sets the vocabulary field.
|
|
*
|
|
* @param vocabularyField the vocabularyField to set
|
|
*/
|
|
public void setVocabularyField(List<String> vocabularyField) {
|
|
|
|
this.vocabularyField = vocabularyField;
|
|
}
|
|
|
|
|
|
/* (non-Javadoc)
|
|
* @see java.lang.Object#toString()
|
|
*/
|
|
@Override
|
|
public String toString() {
|
|
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("MetadataVocabulary [vocabularyField=");
|
|
builder.append(vocabularyField);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|