public enum DownloadType extends Enum<DownloadType>
Enum Constant and Description |
---|
EVENT |
OCCURRENCE |
Modifier and Type | Method and Description |
---|---|
static DownloadType |
fromCoreTerm(org.gbif.dwc.terms.DwcTerm coreTerm) |
org.gbif.dwc.terms.DwcTerm |
getCoreTerm() |
static DownloadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadType OCCURRENCE
public static final DownloadType EVENT
public static DownloadType[] values()
for (DownloadType c : DownloadType.values()) System.out.println(c);
public static DownloadType 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 org.gbif.dwc.terms.DwcTerm getCoreTerm()
public static DownloadType fromCoreTerm(org.gbif.dwc.terms.DwcTerm coreTerm)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.