001package org.gbif.dwc.terms;
002
003import org.gbif.dwc.terms.jackson.TermDeserializer;
004import org.gbif.dwc.terms.jackson.TermSerializer;
005
006import org.codehaus.jackson.map.annotate.JsonDeserialize;
007import org.codehaus.jackson.map.annotate.JsonSerialize;
008
009@JsonSerialize(using= TermSerializer.class)
010@JsonDeserialize(using= TermDeserializer.class)
011public interface Term {
012
013  /**
014   * The simple term name without any namespace or paths.
015   * For example scientificName.
016   */
017  String simpleName();
018
019  /**
020   * The full qualified term uri including the namespace.
021   * For example http://rs.tdwg.org/dwc/terms/scientificName.
022   */
023  String qualifiedName();
024
025}