Package org.gbif.api.model.collections
Class Contact
- java.lang.Object
-
- org.gbif.api.model.collections.Contact
-
- All Implemented Interfaces:
Serializable
,LenientEquals<Contact>
public class Contact extends Object implements LenientEquals<Contact>, Serializable
Contact associated to a GRSciCollCollection
orInstitution
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Contact()
-
Method Summary
-
-
-
Constructor Detail
-
Contact
public Contact()
-
-
Method Detail
-
getKey
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Integer getKey()
-
getFirstName
public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getPosition
public List<String> getPosition()
-
setPosition
public void setPosition(List<String> position)
-
getAddress
public List<String> getAddress()
-
setAddress
public void setAddress(List<String> address)
-
getProvince
public String getProvince()
-
setProvince
public void setProvince(String province)
-
getCountry
public Country getCountry()
-
setCountry
public void setCountry(Country country)
-
getPostalCode
public String getPostalCode()
-
setPostalCode
public void setPostalCode(String postalCode)
-
isPrimary
public boolean isPrimary()
-
setPrimary
public void setPrimary(boolean primary)
-
getTaxonomicExpertise
public List<String> getTaxonomicExpertise()
-
setTaxonomicExpertise
public void setTaxonomicExpertise(List<String> taxonomicExpertise)
-
getUserIds
public List<UserId> getUserIds()
-
setUserIds
public void setUserIds(List<UserId> userIds)
-
getCreatedBy
public String getCreatedBy()
-
setCreatedBy
public void setCreatedBy(String createdBy)
-
getModifiedBy
public String getModifiedBy()
-
setModifiedBy
public void setModifiedBy(String modifiedBy)
-
getCreated
public Date getCreated()
-
setCreated
public void setCreated(Date created)
-
getModified
public Date getModified()
-
setModified
public void setModified(Date modified)
-
lenientEquals
public boolean lenientEquals(Contact contact)
Description copied from interface:LenientEquals
Leniently tests if the objects are the same. Implementors should declare what this means in practice.- Specified by:
lenientEquals
in interfaceLenientEquals<Contact>
- Parameters:
contact
- To compare against- Returns:
- true if...
-
-