Package org.gbif.api.model.registry
Class Organization
java.lang.Object
org.gbif.api.model.registry.Organization
- All Implemented Interfaces:
Serializable,Address,Commentable,Contactable,Endpointable,Identifiable,LenientEquals<Organization>,MachineTaggable,NetworkEntity,Taggable
public class Organization
extends Object
implements NetworkEntity, Contactable, Endpointable, MachineTaggable, Taggable, Identifiable, Commentable, LenientEquals<Organization>, Address
A GBIF data publisher.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEndpoint(Endpoint endpoint) voidaddMachineTag(MachineTag machineTag) boolean@Size(min=1,max=30) StringdeliveryPoint in EMLgetCity()city in EML@NotNull Countrycountry in EMLgetEmail()electronicMailAddress in EML@NotNull UUIDList of homepage websites.getKey()@NotNull Language@Min(-90L) @Max(90L) BigDecimal@Min(-180L) @Max(180L) BigDecimal@javax.validation.constraints.Min(0L) intInstitution name as part of the addressGet the organization password.getPhone()phone in EMLpostalCode in EMLadministrativeArea in EMLgetTags()getTitle()inthashCode()booleanbooleanlenientEquals(Organization other) A lenient equality check for business logic uniqueness.voidsetAbbreviation(String abbreviation) voidsetAddress(List<String> address) voidvoidsetComments(List<Comment> comments) voidsetContacts(List<Contact> contacts) voidsetCountry(Country country) voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDeleted(Date deleted) voidsetDescription(String description) voidvoidsetEndorsed(Date endorsed) voidsetEndorsementApproved(boolean endorsementApproved) voidsetEndorsementStatus(EndorsementStatus endorsementStatus) voidsetEndorsingNodeKey(UUID endorsingNodeKey) voidsetEndpoints(List<Endpoint> endpoints) voidsetHomepage(List<URI> homepage) voidsetIdentifiers(List<Identifier> identifiers) voidvoidsetLanguage(Language language) voidsetLatitude(BigDecimal latitude) voidsetLogoUrl(URI logoUrl) voidsetLongitude(BigDecimal longitude) voidsetMachineTags(List<MachineTag> machineTags) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidsetNumPublishedDatasets(int numPublishedDatasets) voidsetOrganization(String organization) voidsetPassword(String password) voidvoidsetPostalCode(String postalCode) voidsetProvince(String province) voidvoidtoString()
-
Constructor Details
-
Organization
public Organization()
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceNetworkEntity
-
setKey
- Specified by:
setKeyin interfaceNetworkEntity
-
getTitle
- Specified by:
getTitlein interfaceNetworkEntity
-
setTitle
- Specified by:
setTitlein interfaceNetworkEntity
-
getDescription
- Specified by:
getDescriptionin interfaceNetworkEntity
-
setDescription
- Specified by:
setDescriptionin interfaceNetworkEntity
-
getCreated
- Specified by:
getCreatedin interfaceNetworkEntity
-
setCreated
- Specified by:
setCreatedin interfaceNetworkEntity
-
getModified
- Specified by:
getModifiedin interfaceNetworkEntity
-
setModified
- Specified by:
setModifiedin interfaceNetworkEntity
-
getDeleted
- Specified by:
getDeletedin interfaceNetworkEntity
-
setDeleted
- Specified by:
setDeletedin interfaceNetworkEntity
-
getEndorsed
-
setEndorsed
-
getEndorsingNodeKey
-
setEndorsingNodeKey
-
isEndorsementApproved
-
setEndorsementApproved
-
getEndorsementStatus
-
setEndorsementStatus
-
getPassword
Get the organization password. This method is to be ignored on serialization, so that the password is not revealed in the web service response.- Returns:
- organization password
-
setPassword
-
getAbbreviation
-
setAbbreviation
-
getLanguage
-
setLanguage
-
getEmail
Description copied from interface:AddresselectronicMailAddress in EML -
setEmail
-
getPhone
Description copied from interface:Addressphone in EML -
setPhone
-
getHomepage
Description copied from interface:AddressList of homepage websites.- Specified by:
getHomepagein interfaceAddress
-
setHomepage
- Specified by:
setHomepagein interfaceAddress
-
getLogoUrl
-
setLogoUrl
-
getAddress
Description copied from interface:AddressdeliveryPoint in EML- Specified by:
getAddressin interfaceAddress
-
setAddress
- Specified by:
setAddressin interfaceAddress
-
getCity
Description copied from interface:Addresscity in EML -
setCity
-
getProvince
Description copied from interface:AddressadministrativeArea in EML- Specified by:
getProvincein interfaceAddress
-
setProvince
- Specified by:
setProvincein interfaceAddress
-
getCountry
Description copied from interface:Addresscountry in EML- Specified by:
getCountryin interfaceAddress
-
setCountry
- Specified by:
setCountryin interfaceAddress
-
getPostalCode
Description copied from interface:AddresspostalCode in EML- Specified by:
getPostalCodein interfaceAddress
-
setPostalCode
- Specified by:
setPostalCodein interfaceAddress
-
getOrganization
Description copied from interface:AddressInstitution name as part of the address- Specified by:
getOrganizationin interfaceAddress
-
setOrganization
- Specified by:
setOrganizationin interfaceAddress
-
getLatitude
-
setLatitude
-
getLongitude
-
setLongitude
-
getNumPublishedDatasets
-
setNumPublishedDatasets
-
getCreatedBy
- Specified by:
getCreatedByin interfaceNetworkEntity
-
setCreatedBy
- Specified by:
setCreatedByin interfaceNetworkEntity
-
getModifiedBy
- Specified by:
getModifiedByin interfaceNetworkEntity
-
setModifiedBy
- Specified by:
setModifiedByin interfaceNetworkEntity
-
getContacts
- Specified by:
getContactsin interfaceContactable
-
setContacts
- Specified by:
setContactsin interfaceContactable
-
getEndpoints
- Specified by:
getEndpointsin interfaceEndpointable
-
setEndpoints
- Specified by:
setEndpointsin interfaceEndpointable
-
addEndpoint
- Specified by:
addEndpointin interfaceEndpointable
-
getMachineTags
- Specified by:
getMachineTagsin interfaceMachineTaggable
-
setMachineTags
- Specified by:
setMachineTagsin interfaceMachineTaggable
-
addMachineTag
- Specified by:
addMachineTagin interfaceMachineTaggable
-
getTags
-
setTags
-
getIdentifiers
- Specified by:
getIdentifiersin interfaceIdentifiable
-
setIdentifiers
- Specified by:
setIdentifiersin interfaceIdentifiable
-
getComments
- Specified by:
getCommentsin interfaceCommentable
-
setComments
- Specified by:
setCommentsin interfaceCommentable
-
equals
-
hashCode
-
toString
-
lenientEquals
A lenient equality check for business logic uniqueness. Does not include server side controlled fields such as key and createdBy, nested objects and does not include password for security reasons.- Specified by:
lenientEqualsin interfaceLenientEquals<Organization>- Parameters:
other- To compare against- Returns:
- true if...
-