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 TypeMethodDescriptionvoidaddEndpoint(Endpoint endpoint) voidaddMachineTag(MachineTag machineTag) booleandeliveryPoint in EML@Size(min=1) StringgetCity()city in EMLcountry in EMLgetEmail()electronicMailAddress in EMLList of homepage websites.getKey()@NotNull Language@javax.validation.constraints.Min(0L) intAlias for the network titlegetPhone()phone in EML@Size(min=1) StringpostalCode in EML@Size(min=1) StringadministrativeArea in EMLgetTags()getTitle()inthashCode()booleanlenientEquals(Network other) Tests persisted fields, excluding the server controlled values such as key and createdBy.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) voidvoidsetEndpoints(List<Endpoint> endpoints) voidsetHomepage(List<URI> homepage) voidsetIdentifiers(List<Identifier> identifiers) voidvoidsetLanguage(Language language) voidsetLogoUrl(URI logoUrl) voidsetMachineTags(List<MachineTag> machineTags) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidsetNumConstituents(int numConstituents) voidsetOrganization(String organization) Alias for the network titlevoidvoidsetPostalCode(String postalCode) voidsetProvince(String province) voidvoidtoString()
-
Constructor Details
-
Network
public Network()
-
-
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
-
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
-
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
-
getNumConstituents
-
setNumConstituents
-
getOrganization
Alias for the network title- Specified by:
getOrganizationin interfaceAddress
-
setOrganization
Alias for the network title- Specified by:
setOrganizationin 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:
lenientEqualsin interfaceLenientEquals<Network>- Parameters:
other- To compare against- Returns:
- true if...
-