Modifier and Type | Method and Description |
---|---|
License |
LicenseSerde.LicenseJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
void |
LicenseSerde.LicenseJsonSerializer.serialize(License value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
@NotNull License |
Occurrence.getLicense()
Applied license to the occurrence record or dataset to which this record belongs to.
|
License |
Download.getLicense()
Get the license assigned to this occurrence download.
|
Modifier and Type | Method and Description |
---|---|
void |
Occurrence.setLicense(License license) |
void |
Download.setLicense(License license) |
Modifier and Type | Method and Description |
---|---|
License |
Dataset.getLicense()
Persisted in the database table.
|
Modifier and Type | Method and Description |
---|---|
void |
Dataset.setLicense(License license)
Persisted in the database table.
|
Modifier and Type | Method and Description |
---|---|
License |
DatasetSearchResult.getLicense() |
Modifier and Type | Method and Description |
---|---|
void |
DatasetSearchResult.setLicense(License license) |
Modifier and Type | Method and Description |
---|---|
static License |
License.getMostRestrictive(License license1,
License license2,
License fallback)
Get the most restrictive license between the 2 provided licenses.
|
static License |
License.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static License[] |
License.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Optional<License> |
License.fromLicenseUrl(String licenseUrl)
Lookup a License by either its a) legal code URL or b) human readable summary URL, with HTTP or HTTPS.
|
static Optional<License> |
License.fromString(String license)
Get an
License from its name as String. |
Modifier and Type | Method and Description |
---|---|
static License |
License.getMostRestrictive(License license1,
License license2,
License fallback)
Get the most restrictive license between the 2 provided licenses.
|
Modifier and Type | Method and Description |
---|---|
License |
LicenseMixin.getLicense() |
Modifier and Type | Method and Description |
---|---|
License |
LicenseParser.parseUriThenTitle(URI uri,
String title)
Parse license supplied in two parts: URI and title.
|
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.