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 NetworkEntity
public void setKey(UUID key)
setKey
in interface NetworkEntity
public String getTitle()
getTitle
in interface NetworkEntity
public void setTitle(String title)
setTitle
in interface NetworkEntity
public String getDescription()
getDescription
in interface NetworkEntity
public void setDescription(String description)
setDescription
in interface NetworkEntity
public Date getCreated()
getCreated
in interface NetworkEntity
public void setCreated(Date created)
setCreated
in interface NetworkEntity
public Date getModified()
getModified
in interface NetworkEntity
public void setModified(Date modified)
setModified
in interface NetworkEntity
public Date getDeleted()
getDeleted
in interface NetworkEntity
public 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()
Address
getHomepage
in interface Address
public void setHomepage(List<URI> homepage)
setHomepage
in interface Address
@Nullable public URI getLogoUrl()
public void setLogoUrl(URI logoUrl)
@Nullable public List<String> getAddress()
Address
getAddress
in interface Address
public 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()
Address
getProvince
in interface Address
public void setProvince(String province)
setProvince
in interface Address
@Nullable public Country getCountry()
Address
getCountry
in interface Address
public void setCountry(Country country)
setCountry
in interface Address
@Nullable @Size(min=1) public @Size(min=1) String getPostalCode()
Address
getPostalCode
in interface Address
public void setPostalCode(String postalCode)
setPostalCode
in interface Address
public String getCreatedBy()
getCreatedBy
in interface NetworkEntity
public void setCreatedBy(String createdBy)
setCreatedBy
in interface NetworkEntity
public String getModifiedBy()
getModifiedBy
in interface NetworkEntity
public void setModifiedBy(String modifiedBy)
setModifiedBy
in interface NetworkEntity
public List<Contact> getContacts()
getContacts
in interface Contactable
public void setContacts(List<Contact> contacts)
setContacts
in interface Contactable
public List<Endpoint> getEndpoints()
getEndpoints
in interface Endpointable
public void setEndpoints(List<Endpoint> endpoints)
setEndpoints
in interface Endpointable
public void addEndpoint(Endpoint endpoint)
addEndpoint
in interface Endpointable
public List<MachineTag> getMachineTags()
getMachineTags
in interface MachineTaggable
public void setMachineTags(List<MachineTag> machineTags)
setMachineTags
in interface MachineTaggable
public void addMachineTag(MachineTag machineTag)
addMachineTag
in interface MachineTaggable
public List<Identifier> getIdentifiers()
getIdentifiers
in interface Identifiable
public void setIdentifiers(List<Identifier> identifiers)
setIdentifiers
in interface Identifiable
public List<Comment> getComments()
getComments
in interface Commentable
public 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 Address
public void setOrganization(String organization)
setOrganization
in interface Address
public boolean lenientEquals(Network other)
lenientEquals
in interface LenientEquals<Network>
other
- To compare againstCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.