Package | Description |
---|---|
org.gbif.api.model.registry | |
org.gbif.api.util | |
org.gbif.api.vocabulary |
Modifier and Type | Method and Description |
---|---|
ContactType |
Contact.getType() |
Modifier and Type | Method and Description |
---|---|
Set<ContactType> |
CitationContact.getRoles()
Roles or contact type of this contact.
|
Modifier and Type | Method and Description |
---|---|
void |
Contact.setType(ContactType type) |
Modifier and Type | Method and Description |
---|---|
void |
CitationContact.setRoles(Set<ContactType> roles) |
Constructor and Description |
---|
CitationContact(Integer key,
String abbreviatedName,
String firstName,
String lastName,
Set<ContactType> roles,
Set<String> userId) |
Modifier and Type | Method and Description |
---|---|
static ContactType |
VocabularyUtils.parseContactType(String type) |
Modifier and Type | Method and Description |
---|---|
List<Contact> |
ContactAdapter.getAllType(ContactType type)
Get all
Contact for the provided type. |
List<Contact> |
ContactAdapter.getFilteredContacts(ContactType... types)
Filter contacts based on the provided contact types.
|
Contact |
ContactAdapter.getFirstPreferredType(ContactType type)
Get the first primary
Contact for the provided type. |
Modifier and Type | Method and Description |
---|---|
static ContactType |
ContactType.fromString(String contactType) |
static ContactType |
ContactType.inferType(String type)
Tries its best to infer a ContactType from a given string.
|
static ContactType |
ContactType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactType[] |
ContactType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.