Package org.gbif.dwc.terms
Enum XmpRightsTerm
- java.lang.Object
-
- java.lang.Enum<XmpRightsTerm>
-
- org.gbif.dwc.terms.XmpRightsTerm
-
- All Implemented Interfaces:
Serializable
,Comparable<XmpRightsTerm>
,AlternativeNames
,Term
public enum XmpRightsTerm extends Enum<XmpRightsTerm> implements Term, AlternativeNames
Terms for Adobe XMP have URIs that are not resolvable. Instead, visit XMP Specification Part 1, Sec 8.4 for further documentation. These terms are used by the Audubon Core standard.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Owner
UsageTerms
WebStatement
-
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 XmpRightsTerm
valueOf(String name)
Returns the enum constant of this type with the specified name.static XmpRightsTerm[]
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
-
Owner
public static final XmpRightsTerm Owner
-
UsageTerms
public static final XmpRightsTerm UsageTerms
-
WebStatement
public static final XmpRightsTerm WebStatement
-
-
Method Detail
-
values
public static XmpRightsTerm[] 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 (XmpRightsTerm c : XmpRightsTerm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmpRightsTerm 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<XmpRightsTerm>
-
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.
-
-