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 TypeMethodDescriptionbooleangetCity()getEmail()getFax()@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) IntegergetKey()getNotes()getPhone()inthashCode()booleanbooleanlenientEquals(Contact contact) Leniently tests if the objects are the same.voidsetAddress(List<String> address) voidvoidsetCountry(Country country) voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidvoidvoidsetFirstName(String firstName) voidvoidsetLastName(String lastName) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidvoidvoidsetPosition(List<String> position) voidsetPostalCode(String postalCode) voidsetPrimary(boolean primary) voidsetProvince(String province) voidsetTaxonomicExpertise(List<String> taxonomicExpertise) voidsetUserIds(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:LenientEqualsLeniently tests if the objects are the same. Implementors should declare what this means in practice.- Specified by:
lenientEqualsin interfaceLenientEquals<Contact>- Parameters:
contact- To compare against- Returns:
- true if...
-
hashCode
-
toString
-