Package org.gbif.api.model.registry
Class CitationContact
java.lang.Object
org.gbif.api.model.registry.CitationContact
- All Implemented Interfaces:
Serializable
A contact used to generate a dataset citation.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCitationContact
(Integer key, String abbreviatedName, String firstName, String lastName, Set<ContactType> roles, Set<String> userId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Abbreviated name used for the citation.Contact's first name.getKey()
Key associated to this contact.Contact's last name.getRoles()
Roles or contact type of this contact.GBIF Portal users associated to this contact.int
hashCode()
void
setAbbreviatedName
(String abbreviatedName) void
setFirstName
(String firstName) void
void
setLastName
(String lastName) void
setRoles
(Set<ContactType> roles) void
toString()
-
Constructor Details
-
CitationContact
public CitationContact() -
CitationContact
public CitationContact(Integer key, String abbreviatedName, @Nullable String firstName, @Nullable String lastName, Set<ContactType> roles, @Nullable Set<String> userId)
-
-
Method Details
-
getKey
Key associated to this contact. -
setKey
-
getAbbreviatedName
Abbreviated name used for the citation. -
setAbbreviatedName
-
getFirstName
Contact's first name. -
setFirstName
-
getLastName
Contact's last name. -
setLastName
-
getRoles
Roles or contact type of this contact. -
setRoles
-
getUserId
GBIF Portal users associated to this contact. -
setUserId
-
equals
-
hashCode
-
toString
-