package eu.dnetlib.enabling.datastructures;

import java.util.TreeSet;

import com.google.common.collect.Sets;

import eu.dnetlib.enabling.annotations.DnetResource;
import eu.dnetlib.rmi.objects.is.DnetResourceFormat;
import eu.dnetlib.rmi.objects.is.DnetResourceKind;

@DnetResource(type = "Vocabulary", kind = DnetResourceKind.CONFIGURATION, format = DnetResourceFormat.JSON)
public class Vocabulary extends AbstractJsonResource {

	private TreeSet<VocabularyTerm> terms = Sets.newTreeSet();

	public TreeSet<VocabularyTerm> getTerms() {
		return terms;
	}

	public void setTerms(final TreeSet<VocabularyTerm> terms) {
		this.terms = terms;
	}

}
