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 TypeMethodDescriptionvoid
addEndpoint
(Endpoint endpoint) void
addMachineTag
(MachineTag machineTag) boolean
@Size(min=1,max=10) String
deliveryPoint in EML@Size(min=1) String
getCity()
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 ParticipationStatus
getPhone()
phone in EML@Size(min=1) String
postalCode in EML@Size(min=1) String
administrativeArea in EMLgetTags()
getTitle()
@NotNull NodeType
getType()
int
hashCode()
boolean
lenientEquals
(Node other) Compares the entities for business logic equality using a very lenient approach.void
setAbbreviation
(String abbreviation) void
setAddress
(List<String> address) void
void
setComments
(List<Comment> comments) void
setContacts
(List<Contact> contacts) void
setContinent
(Continent continent) void
setCountry
(Country country) void
setCreated
(Date created) void
setCreatedBy
(String createdBy) void
setDateSignedMOU
(Date dateSignedMOU) void
setDeleted
(Date deleted) void
setDescription
(String description) void
void
setEndpoints
(List<Endpoint> endpoints) void
setGbifRegion
(GbifRegion gbifRegion) void
setHomepage
(List<URI> homepage) void
setIdentifiers
(List<Identifier> identifiers) void
void
setLogoUrl
(URI logoUrl) void
setMachineTags
(List<MachineTag> machineTags) void
setModified
(Date modified) void
setModifiedBy
(String modifiedBy) void
setOrganization
(String organization) void
setParticipantSince
(Integer participantSince) void
setParticipantTitle
(String participantTitle) void
setParticipationStatus
(ParticipationStatus participationStatus) void
void
setPostalCode
(String postalCode) void
setProvince
(String province) void
void
void
toString()
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceNetworkEntity
-
setKey
- Specified by:
setKey
in interfaceNetworkEntity
-
getTitle
- Specified by:
getTitle
in interfaceNetworkEntity
-
setTitle
- Specified by:
setTitle
in interfaceNetworkEntity
-
getParticipantTitle
-
setParticipantTitle
-
getAbbreviation
-
setAbbreviation
-
getDescription
- Specified by:
getDescription
in interfaceNetworkEntity
-
setDescription
- Specified by:
setDescription
in interfaceNetworkEntity
-
getCreated
- Specified by:
getCreated
in interfaceNetworkEntity
-
setCreated
- Specified by:
setCreated
in interfaceNetworkEntity
-
getModified
- Specified by:
getModified
in interfaceNetworkEntity
-
setModified
- Specified by:
setModified
in interfaceNetworkEntity
-
getDeleted
- Specified by:
getDeleted
in interfaceNetworkEntity
-
setDeleted
- Specified by:
setDeleted
in 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:Address
electronicMailAddress in EML -
setEmail
-
getPhone
Description copied from interface:Address
phone in EML -
setPhone
-
getHomepage
Description copied from interface:Address
List of homepage websites.- Specified by:
getHomepage
in interfaceAddress
-
setHomepage
- Specified by:
setHomepage
in interfaceAddress
-
getLogoUrl
-
setLogoUrl
-
getOrganization
Description copied from interface:Address
Institution name as part of the address- Specified by:
getOrganization
in interfaceAddress
-
setOrganization
- Specified by:
setOrganization
in interfaceAddress
-
getAddress
Description copied from interface:Address
deliveryPoint in EML- Specified by:
getAddress
in interfaceAddress
-
setAddress
- Specified by:
setAddress
in interfaceAddress
-
getCity
Description copied from interface:Address
city in EML -
setCity
-
getProvince
Description copied from interface:Address
administrativeArea in EML- Specified by:
getProvince
in interfaceAddress
-
setProvince
- Specified by:
setProvince
in interfaceAddress
-
getCountry
Description copied from interface:Address
country in EML- Specified by:
getCountry
in interfaceAddress
-
setCountry
- Specified by:
setCountry
in interfaceAddress
-
getPostalCode
Description copied from interface:Address
postalCode in EML- Specified by:
getPostalCode
in interfaceAddress
-
setPostalCode
- Specified by:
setPostalCode
in interfaceAddress
-
getCreatedBy
- Specified by:
getCreatedBy
in interfaceNetworkEntity
-
setCreatedBy
- Specified by:
setCreatedBy
in interfaceNetworkEntity
-
getModifiedBy
- Specified by:
getModifiedBy
in interfaceNetworkEntity
-
setModifiedBy
- Specified by:
setModifiedBy
in interfaceNetworkEntity
-
getContacts
- Specified by:
getContacts
in interfaceContactable
-
setContacts
- Specified by:
setContacts
in interfaceContactable
-
getEndpoints
- Specified by:
getEndpoints
in interfaceEndpointable
-
setEndpoints
- Specified by:
setEndpoints
in interfaceEndpointable
-
addEndpoint
- Specified by:
addEndpoint
in interfaceEndpointable
-
getMachineTags
- Specified by:
getMachineTags
in interfaceMachineTaggable
-
setMachineTags
- Specified by:
setMachineTags
in interfaceMachineTaggable
-
addMachineTag
- Specified by:
addMachineTag
in interfaceMachineTaggable
-
getTags
-
setTags
-
getIdentifiers
- Specified by:
getIdentifiers
in interfaceIdentifiable
-
setIdentifiers
- Specified by:
setIdentifiers
in interfaceIdentifiable
-
getComments
- Specified by:
getComments
in interfaceCommentable
-
setComments
- Specified by:
setComments
in 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:
lenientEquals
in interfaceLenientEquals<Node>
- Parameters:
other
- To compare against- Returns:
- true if...
-