Package org.gbif.dwc.terms
Enum DcTerm
- java.lang.Object
-
- java.lang.Enum<DcTerm>
-
- org.gbif.dwc.terms.DcTerm
-
- All Implemented Interfaces:
Serializable
,Comparable<DcTerm>
,AlternativeNames
,Term
public enum DcTerm extends Enum<DcTerm> implements Term, AlternativeNames, Serializable
All Dublin Core terms with namespace http://purl.org/dc/terms/. A small subset of 15 terms exist as DcElement under a different namespace, but DcTerm values must be a member of a specific class and therefore given by URI, whereas DcElement values are allowed to be free text.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description String[]
alternatives
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 DcTerm
valueOf(String name)
Returns the enum constant of this type with the specified name.static DcTerm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface org.gbif.dwc.terms.Term
prefixedName, qualifiedName
-
-
-
-
Enum Constant Detail
-
accessRights
public static final DcTerm accessRights
-
accrualMethod
public static final DcTerm accrualMethod
-
accrualPeriodicity
public static final DcTerm accrualPeriodicity
-
accrualPolicy
public static final DcTerm accrualPolicy
-
alternative
public static final DcTerm alternative
-
bibliographicCitation
public static final DcTerm bibliographicCitation
-
conformsTo
public static final DcTerm conformsTo
-
contributor
public static final DcTerm contributor
-
dateAccepted
public static final DcTerm dateAccepted
-
dateCopyrighted
public static final DcTerm dateCopyrighted
-
dateSubmitted
public static final DcTerm dateSubmitted
-
description
public static final DcTerm description
-
educationLevel
public static final DcTerm educationLevel
-
hasVersion
public static final DcTerm hasVersion
-
identifier
public static final DcTerm identifier
-
instructionalMethod
public static final DcTerm instructionalMethod
-
isFormatOf
public static final DcTerm isFormatOf
-
isReferencedBy
public static final DcTerm isReferencedBy
-
isReplacedBy
public static final DcTerm isReplacedBy
-
isRequiredBy
public static final DcTerm isRequiredBy
-
isVersionOf
public static final DcTerm isVersionOf
-
provenance
public static final DcTerm provenance
-
references
public static final DcTerm references
-
rightsHolder
public static final DcTerm rightsHolder
-
tableOfContents
public static final DcTerm tableOfContents
-
-
Field Detail
-
alternatives
public final String[] alternatives
-
-
Method Detail
-
values
public static DcTerm[] 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 (DcTerm c : DcTerm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DcTerm 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 nameNullPointerException
- if the argument is null
-
simpleName
public String simpleName()
Description copied from interface:Term
The simple term name without any namespace or paths. For example scientificName.- Specified by:
simpleName
in interfaceTerm
-
alternativeNames
public String[] alternativeNames()
- Specified by:
alternativeNames
in interfaceAlternativeNames
- Returns:
- array of simple, alternative term names
-
isClass
public boolean 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
-
prefix
public String prefix()
Description copied from interface:Term
A unique standard prefix representing the namespace. For example dwc.
-
-