public class Network extends Object implements NetworkEntity, Contactable, Endpointable, MachineTaggable, Taggable, Commentable, Identifiable, LenientEquals<Network>, Address
| Constructor and Description |
|---|
Network() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpoint(Endpoint endpoint) |
void |
addMachineTag(MachineTag machineTag) |
boolean |
equals(Object o) |
List<String> |
getAddress()
deliveryPoint in EML
|
@Size(min=1) String |
getCity()
city in EML
|
List<Comment> |
getComments() |
List<Contact> |
getContacts() |
Country |
getCountry()
country in EML
|
Date |
getCreated() |
String |
getCreatedBy() |
Date |
getDeleted() |
String |
getDescription() |
List<String> |
getEmail()
electronicMailAddress in EML
|
List<Endpoint> |
getEndpoints() |
List<URI> |
getHomepage()
List of homepage websites.
|
List<Identifier> |
getIdentifiers() |
UUID |
getKey() |
@NotNull Language |
getLanguage() |
URI |
getLogoUrl() |
List<MachineTag> |
getMachineTags() |
Date |
getModified() |
String |
getModifiedBy() |
@Min(value=0L) int |
getNumConstituents() |
String |
getOrganization()
Alias for the network title
|
List<String> |
getPhone()
phone in EML
|
@Size(min=1) String |
getPostalCode()
postalCode in EML
|
@Size(min=1) String |
getProvince()
administrativeArea in EML
|
List<Tag> |
getTags() |
String |
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 |
setCity(String city) |
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 |
setEmail(List<String> email) |
void |
setEndpoints(List<Endpoint> endpoints) |
void |
setHomepage(List<URI> homepage) |
void |
setIdentifiers(List<Identifier> identifiers) |
void |
setKey(UUID key) |
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 title
|
void |
setPhone(List<String> phone) |
void |
setPostalCode(String postalCode) |
void |
setProvince(String province) |
void |
setTags(List<Tag> tags) |
void |
setTitle(String title) |
String |
toString() |
public Network()
public UUID getKey()
getKey in interface NetworkEntitypublic void setKey(UUID key)
setKey in interface NetworkEntitypublic String getTitle()
getTitle in interface NetworkEntitypublic void setTitle(String title)
setTitle in interface NetworkEntitypublic String getDescription()
getDescription in interface NetworkEntitypublic void setDescription(String description)
setDescription in interface NetworkEntitypublic Date getCreated()
getCreated in interface NetworkEntitypublic void setCreated(Date created)
setCreated in interface NetworkEntitypublic Date getModified()
getModified in interface NetworkEntitypublic void setModified(Date modified)
setModified in interface NetworkEntitypublic Date getDeleted()
getDeleted in interface NetworkEntitypublic void setDeleted(Date deleted)
setDeleted in interface NetworkEntity@NotNull public @NotNull Language getLanguage()
public void setLanguage(Language language)
@Nullable public List<String> getEmail()
Address@Nullable public List<String> getPhone()
Address@Nullable public List<URI> getHomepage()
AddressgetHomepage in interface Addresspublic void setHomepage(List<URI> homepage)
setHomepage in interface Address@Nullable public URI getLogoUrl()
public void setLogoUrl(URI logoUrl)
@Nullable public List<String> getAddress()
AddressgetAddress in interface Addresspublic void setAddress(List<String> address)
setAddress in interface Address@Nullable @Size(min=1) public @Size(min=1) String getCity()
Address@Nullable @Size(min=1) public @Size(min=1) String getProvince()
AddressgetProvince in interface Addresspublic void setProvince(String province)
setProvince in interface Address@Nullable public Country getCountry()
AddressgetCountry in interface Addresspublic void setCountry(Country country)
setCountry in interface Address@Nullable @Size(min=1) public @Size(min=1) String getPostalCode()
AddressgetPostalCode in interface Addresspublic void setPostalCode(String postalCode)
setPostalCode in interface Addresspublic String getCreatedBy()
getCreatedBy in interface NetworkEntitypublic void setCreatedBy(String createdBy)
setCreatedBy in interface NetworkEntitypublic String getModifiedBy()
getModifiedBy in interface NetworkEntitypublic void setModifiedBy(String modifiedBy)
setModifiedBy in interface NetworkEntitypublic List<Contact> getContacts()
getContacts in interface Contactablepublic void setContacts(List<Contact> contacts)
setContacts in interface Contactablepublic List<Endpoint> getEndpoints()
getEndpoints in interface Endpointablepublic void setEndpoints(List<Endpoint> endpoints)
setEndpoints in interface Endpointablepublic void addEndpoint(Endpoint endpoint)
addEndpoint in interface Endpointablepublic List<MachineTag> getMachineTags()
getMachineTags in interface MachineTaggablepublic void setMachineTags(List<MachineTag> machineTags)
setMachineTags in interface MachineTaggablepublic void addMachineTag(MachineTag machineTag)
addMachineTag in interface MachineTaggablepublic List<Identifier> getIdentifiers()
getIdentifiers in interface Identifiablepublic void setIdentifiers(List<Identifier> identifiers)
setIdentifiers in interface Identifiablepublic List<Comment> getComments()
getComments in interface Commentablepublic void setComments(List<Comment> comments)
setComments in interface Commentable@Min(value=0L) public @Min(value=0L) int getNumConstituents()
public void setNumConstituents(int numConstituents)
@Nullable public String getOrganization()
getOrganization in interface Addresspublic void setOrganization(String organization)
setOrganization in interface Addresspublic boolean lenientEquals(Network other)
lenientEquals in interface LenientEquals<Network>other - To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.