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