001package org.gbif.dwc.terms;
002
003import java.net.URI;
004
005public enum IucnTerm implements Term, AlternativeNames {
006  threatStatus;
007
008  private static final String PREFIX = "iucn";
009  private static final String NS = "http://iucn.org/terms/";
010  private static final URI NS_URI = URI.create(NS);
011
012  public final String[] normAlts;
013
014  IucnTerm(String... alternatives) {
015    normAlts = alternatives;
016  }
017
018  @Override
019  public String simpleName() {
020    return name();
021  }
022
023  @Override
024  public String[] alternativeNames() {
025    return normAlts;
026  }
027
028  @Override
029  public String toString() {
030    return prefixedName();
031  }
032
033  @Override
034  public String prefix() {
035    return PREFIX;
036  }
037
038  @Override
039  public URI namespace() {
040    return NS_URI;
041  }
042
043  @Override
044  public boolean isClass() {
045    return false;
046  }
047
048}