001package org.gbif.dwc.terms;
002
003/**
004 * EOL terms taken from http://eol.org/schema/reference_extension.xml
005 */
006public enum EolReferenceTerm implements Term, AlternativeNames {
007
008  referenceID,
009  publicationType,
010  full_reference,
011  primaryTitle;
012
013  public static final String NS = "http://eol.org/schema/reference/";
014  public static final String PREFIX = "eolref";
015  static final String[] PREFIXES = {NS, PREFIX + ":", "eolr:"};
016
017  public String toString() {
018    return PREFIX + ":" + this.name();
019  }
020
021  @Override
022  public String simpleName() {
023    return name();
024  }
025
026  @Override
027  public String[] alternativeNames() {
028    return new String[]{};
029  }
030
031  @Override
032  public String qualifiedName() {
033    return NS + simpleName();
034  }
035
036}