public enum DwcaTerm extends Enum<DwcaTerm> implements Term, AlternativeNames, Serializable
Enum Constant and Description |
---|
ID
Archive internal (core) id column.
|
Modifier and Type | Method and Description |
---|---|
String[] |
alternativeNames() |
boolean |
isClass()
Informs if a term is generally used as a class term, i.e.
|
URI |
namespace()
The namespace the terms are in.
|
String |
prefix()
A unique standard prefix representing the namespace.
|
String |
simpleName()
The simple term name without any namespace or paths.
|
String |
toString() |
static DwcaTerm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DwcaTerm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
prefixedName, qualifiedName
public static DwcaTerm[] values()
for (DwcaTerm c : DwcaTerm.values()) System.out.println(c);
public static DwcaTerm valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String prefix()
Term
public URI namespace()
Term
public String simpleName()
Term
simpleName
in interface Term
public String[] alternativeNames()
alternativeNames
in interface AlternativeNames
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.