public enum GadmTerm extends Enum<GadmTerm> implements Term, AlternativeNames
Enum Constant and Description |
---|
level0Gid |
level0Name |
level1Gid |
level1Name |
level2Gid |
level2Name |
level3Gid |
level3Name |
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 GadmTerm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GadmTerm[] |
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 final GadmTerm level0Name
public static final GadmTerm level1Name
public static final GadmTerm level2Name
public static final GadmTerm level3Name
public static GadmTerm[] values()
for (GadmTerm c : GadmTerm.values()) System.out.println(c);
public static GadmTerm 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 simpleName()
Term
simpleName
in interface Term
public String[] alternativeNames()
alternativeNames
in interface AlternativeNames
public String prefix()
Term
public URI namespace()
Term
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.