001package org.gbif.dwc.terms;
002
003import java.net.URI;
004
005/**
006 * Internal GBIF terms used for processing, fragmenting, crawling, ...
007 * These are not exposed in downloads or the public API.
008 */
009public enum GbifInternalTerm implements Term, AlternativeNames {
010  identifierCount,
011  crawlId,
012  fragment,
013  fragmentHash,
014  fragmentCreated,
015  xmlSchema,
016  publishingOrgKey,
017  unitQualifier,
018  networkKey,
019  installationKey;
020
021  private static final String PREFIX = "gbint";
022  private static final String NS = "http://rs.gbif.org/terms/internal/";
023  private static final URI NS_URI = URI.create(NS);
024
025  private static final String[] EMPTY = new String[0];
026
027  @Override
028  public String simpleName() {
029    return name();
030  }
031
032  @Override
033  public String toString() {
034    return prefixedName();
035  }
036
037  @Override
038  public String[] alternativeNames() {
039    return EMPTY;
040  }
041
042  @Override
043  public boolean isClass() {
044    return false;
045  }
046
047  @Override
048  public String prefix() {
049    return PREFIX;
050  }
051
052  @Override
053  public URI namespace() {
054    return NS_URI;
055  }
056}