Package org.gbif.api.model.registry
Class Network
java.lang.Object
org.gbif.api.model.registry.Network
- All Implemented Interfaces:
Serializable
,Address
,Commentable
,Contactable
,Endpointable
,Identifiable
,LenientEquals<Network>
,MachineTaggable
,NetworkEntity
,Taggable
public class Network
extends Object
implements NetworkEntity, Contactable, Endpointable, MachineTaggable, Taggable, Commentable, Identifiable, LenientEquals<Network>, Address
A GBIF network.
Networks are collections of datasets, organized outside the Node-Organization
model to serve some purpose.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEndpoint
(Endpoint endpoint) void
addMachineTag
(MachineTag machineTag) boolean
deliveryPoint in EML@Size(min=1) String
getCity()
city in EMLcountry in EMLgetEmail()
electronicMailAddress in EMLList of homepage websites.getKey()
@NotNull Language
@javax.validation.constraints.Min(0L) int
Alias for the network titlegetPhone()
phone in EML@Size(min=1) String
postalCode in EML@Size(min=1) String
administrativeArea in EMLgetTags()
getTitle()
int
hashCode()
boolean
lenientEquals
(Network other) Tests persisted fields, excluding the server controlled values such as key and createdBy.void
setAddress
(List<String> address) void
void
setComments
(List<Comment> comments) void
setContacts
(List<Contact> contacts) void
setCountry
(Country country) void
setCreated
(Date created) void
setCreatedBy
(String createdBy) void
setDeleted
(Date deleted) void
setDescription
(String description) void
void
setEndpoints
(List<Endpoint> endpoints) void
setHomepage
(List<URI> homepage) void
setIdentifiers
(List<Identifier> identifiers) void
void
setLanguage
(Language language) void
setLogoUrl
(URI logoUrl) void
setMachineTags
(List<MachineTag> machineTags) void
setModified
(Date modified) void
setModifiedBy
(String modifiedBy) void
setNumConstituents
(int numConstituents) void
setOrganization
(String organization) Alias for the network titlevoid
void
setPostalCode
(String postalCode) void
setProvince
(String province) void
void
toString()
-
Constructor Details
-
Network
public Network()
-
-
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
-
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
-
getLanguage
-
setLanguage
-
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
-
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
-
getNumConstituents
-
setNumConstituents
-
getOrganization
Alias for the network title- Specified by:
getOrganization
in interfaceAddress
-
setOrganization
Alias for the network title- Specified by:
setOrganization
in interfaceAddress
-
equals
-
hashCode
-
toString
-
lenientEquals
Tests persisted fields, excluding the server controlled values such as key and createdBy. Does not included nested properties in the test.- Specified by:
lenientEquals
in interfaceLenientEquals<Network>
- Parameters:
other
- To compare against- Returns:
- true if...
-