Package org.gbif.api.model.collections
Class Contact
java.lang.Object
org.gbif.api.model.collections.Contact
- All Implemented Interfaces:
Serializable
,LenientEquals<Contact>
Contact associated to a GRSciColl
Collection
or Institution
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCity()
getEmail()
getFax()
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Integer
getKey()
getNotes()
getPhone()
int
hashCode()
boolean
boolean
lenientEquals
(Contact contact) Leniently tests if the objects are the same.void
setAddress
(List<String> address) void
void
setCountry
(Country country) void
setCreated
(Date created) void
setCreatedBy
(String createdBy) void
void
void
setFirstName
(String firstName) void
void
setLastName
(String lastName) void
setModified
(Date modified) void
setModifiedBy
(String modifiedBy) void
void
void
setPosition
(List<String> position) void
setPostalCode
(String postalCode) void
setPrimary
(boolean primary) void
setProvince
(String province) void
setTaxonomicExpertise
(List<String> taxonomicExpertise) void
setUserIds
(List<UserId> userIds) toString()
-
Constructor Details
-
Contact
public Contact()
-
-
Method Details
-
getKey
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Integer getKey() -
setKey
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getPosition
-
setPosition
-
getPhone
-
setPhone
-
getFax
-
setFax
-
getEmail
-
setEmail
-
getAddress
-
setAddress
-
getCity
-
setCity
-
getProvince
-
setProvince
-
getCountry
-
setCountry
-
getPostalCode
-
setPostalCode
-
isPrimary
-
setPrimary
-
getTaxonomicExpertise
-
setTaxonomicExpertise
-
getNotes
-
setNotes
-
getUserIds
-
setUserIds
-
getCreatedBy
-
setCreatedBy
-
getModifiedBy
-
setModifiedBy
-
getCreated
-
setCreated
-
getModified
-
setModified
-
equals
-
lenientEquals
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...
-
hashCode
-
toString
-