Package org.gbif.dwc.terms
Enum GbifDnaTerm
- java.lang.Object
- 
- java.lang.Enum<GbifDnaTerm>
- 
- org.gbif.dwc.terms.GbifDnaTerm
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<GbifDnaTerm>,- AlternativeNames,- Term
 
 public enum GbifDnaTerm extends Enum<GbifDnaTerm> implements Term, AlternativeNames, Serializable Terms defined in the DNA extension. They aren't using the versioned namespace, which ought to be corrected in a future edition of the extension.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description dna_sequencepcr_primer_forwardpcr_primer_name_forwardpcr_primer_name_reversepcr_primer_referencepcr_primer_reverse
 - 
Field SummaryFields Modifier and Type Field Description String[]alternatives
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]alternativeNames()booleanisClass()Informs if a term is generally used as a class term, i.e.URInamespace()The namespace the terms are in.Stringprefix()A unique standard prefix representing the namespace.StringsimpleName()The simple term name without any namespace or paths.StringtoString()static GbifDnaTermvalueOf(String name)Returns the enum constant of this type with the specified name.static GbifDnaTerm[]values()Returns an array containing the constants of this enum type, in the order they are declared.- 
Methods inherited from class java.lang.EnumcompareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 - 
Methods inherited from interface org.gbif.dwc.terms.TermprefixedName, qualifiedName
 
- 
 
- 
- 
- 
Enum Constant Detail- 
dna_sequencepublic static final GbifDnaTerm dna_sequence 
 - 
pcr_primer_forwardpublic static final GbifDnaTerm pcr_primer_forward 
 - 
pcr_primer_name_forwardpublic static final GbifDnaTerm pcr_primer_name_forward 
 - 
pcr_primer_name_reversepublic static final GbifDnaTerm pcr_primer_name_reverse 
 - 
pcr_primer_referencepublic static final GbifDnaTerm pcr_primer_reference 
 - 
pcr_primer_reversepublic static final GbifDnaTerm pcr_primer_reverse 
 
- 
 - 
Field Detail- 
alternativespublic final String[] alternatives 
 
- 
 - 
Method Detail- 
valuespublic static GbifDnaTerm[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GbifDnaTerm c : GbifDnaTerm.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static GbifDnaTerm valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Enum<GbifDnaTerm>
 
 - 
simpleNamepublic String simpleName() Description copied from interface:TermThe simple term name without any namespace or paths. For example scientificName.- Specified by:
- simpleNamein interface- Term
 
 - 
alternativeNamespublic String[] alternativeNames() - Specified by:
- alternativeNamesin interface- AlternativeNames
- Returns:
- array of simple, alternative term names
 
 - 
isClasspublic boolean isClass() Description copied from interface:TermInforms if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence
 - 
prefixpublic String prefix() Description copied from interface:TermA unique standard prefix representing the namespace. For example dwc.
 
- 
 
-