Package org.gbif.dwc.terms
Enum Class GadmTerm
- All Implemented Interfaces:
Serializable
,Comparable<GadmTerm>
,Constable
,AlternativeNames
,Term
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]
boolean
isClass()
Informs if a term is generally used as a class term, i.e.The namespace the terms are in.prefix()
A unique standard prefix representing the namespace.The simple term name without any namespace or paths.toString()
static GadmTerm
Returns the enum constant of this class with the specified name.static GadmTerm[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
Methods inherited from interface org.gbif.dwc.terms.Term
prefixedName, qualifiedName
-
Enum Constant Details
-
level0Gid
-
level0Name
-
level1Gid
-
level1Name
-
level2Gid
-
level2Name
-
level3Gid
-
level3Name
-
-
Field Details
-
normAlts
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
simpleName
Description copied from interface:Term
The simple term name without any namespace or paths. For example scientificName.- Specified by:
simpleName
in interfaceTerm
-
alternativeNames
- Specified by:
alternativeNames
in interfaceAlternativeNames
- Returns:
- array of simple, alternative term names
-
toString
-
prefix
Description copied from interface:Term
A unique standard prefix representing the namespace. For example dwc. -
namespace
Description copied from interface:Term
The namespace the terms are in. Default implementations here expect the namespace to end with a slash. -
isClass
Description copied from interface:Term
Informs if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence
-