Package org.gbif.api.model.registry
Class Node
java.lang.Object
org.gbif.api.model.registry.Node
- All Implemented Interfaces:
Serializable,Address,Commentable,Contactable,Endpointable,Identifiable,LenientEquals<Node>,MachineTaggable,NetworkEntity,Taggable
public class Node
extends Object
implements NetworkEntity, Contactable, Taggable, MachineTaggable, Commentable, Identifiable, Endpointable, LenientEquals<Node>, Address
A GBIF participant node.
Primarily managed in the GBIF Directory.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEndpoint(Endpoint endpoint) voidaddMachineTag(MachineTag machineTag) boolean@Size(min=1,max=10) StringdeliveryPoint in EML@Size(min=1) StringgetCity()city in EMLcountry in EMLgetEmail()electronicMailAddress in EMLList of homepage websites.getKey()Institution name as part of the address4 digit year since the node participant first joined GBIF.@NotNull ParticipationStatusgetPhone()phone in EML@Size(min=1) StringpostalCode in EML@Size(min=1) StringadministrativeArea in EMLgetTags()getTitle()@NotNull NodeTypegetType()inthashCode()booleanlenientEquals(Node other) Compares the entities for business logic equality using a very lenient approach.voidsetAbbreviation(String abbreviation) voidsetAddress(List<String> address) voidvoidsetComments(List<Comment> comments) voidsetContacts(List<Contact> contacts) voidsetContinent(Continent continent) voidsetCountry(Country country) voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDateSignedMOU(Date dateSignedMOU) voidsetDeleted(Date deleted) voidsetDescription(String description) voidvoidsetEndpoints(List<Endpoint> endpoints) voidsetGbifRegion(GbifRegion gbifRegion) voidsetHomepage(List<URI> homepage) voidsetIdentifiers(List<Identifier> identifiers) voidvoidsetLogoUrl(URI logoUrl) voidsetMachineTags(List<MachineTag> machineTags) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidsetOrganization(String organization) voidsetParticipantSince(Integer participantSince) voidsetParticipantTitle(String participantTitle) voidsetParticipationStatus(ParticipationStatus participationStatus) voidvoidsetPostalCode(String postalCode) voidsetProvince(String province) voidvoidvoidtoString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceNetworkEntity
-
setKey
- Specified by:
setKeyin interfaceNetworkEntity
-
getTitle
- Specified by:
getTitlein interfaceNetworkEntity
-
setTitle
- Specified by:
setTitlein interfaceNetworkEntity
-
getParticipantTitle
-
setParticipantTitle
-
getAbbreviation
-
setAbbreviation
-
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
-
getType
-
setType
-
getParticipationStatus
-
setParticipationStatus
-
getParticipantSince
4 digit year since the node participant first joined GBIF. -
setParticipantSince
-
getDateSignedMOU
-
setDateSignedMOU
-
getGbifRegion
-
setGbifRegion
-
getContinent
-
setContinent
-
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
-
getOrganization
Description copied from interface:AddressInstitution name as part of the address- Specified by:
getOrganizationin interfaceAddress
-
setOrganization
- Specified by:
setOrganizationin interfaceAddress
-
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
-
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
Compares the entities for business logic equality using a very lenient approach. Only fields persisted in the registry database are used in the comparison, excluding any nested properties and supplementary information which can be added from external databases such as the IMS. Server controlled values such as key and createdBy are omitted.- Specified by:
lenientEqualsin interfaceLenientEquals<Node>- Parameters:
other- To compare against- Returns:
- true if...
-