Package org.gbif.api.model.registry
Class Installation
java.lang.Object
org.gbif.api.model.registry.Installation
- All Implemented Interfaces:
Serializable,Commentable,Contactable,Endpointable,Identifiable,LenientEquals<Installation>,MachineTaggable,NetworkEntity,Taggable
public class Installation
extends Object
implements NetworkEntity, Contactable, Endpointable, MachineTaggable, Taggable, Commentable, Identifiable, LenientEquals<Installation>
A technical installation which can serve datasets.
Note: An Installation may be marked as disabled, meaning that some process has identified it is out of action.
For the GBIF crawling infrastructure, this means it will not be "metasynced" nor will any dataset associated be
eligible for crawling.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEndpoint(Endpoint endpoint) voidaddMachineTag(MachineTag machineTag) boolean@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUIDgetKey()@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date@NotNull UUIDGet the installation password.getTags()getTitle()@NotNull InstallationTypegetType()inthashCode()booleanbooleanlenientEquals(Installation other) Does not include the nested properties, or server controlled values (key, createdBy etc) or the password, for security reasons.voidsetComments(List<Comment> comments) voidsetContacts(List<Contact> contacts) voidsetCreated(Date created) voidsetCreatedBy(String createdBy) voidsetDeleted(Date deleted) voidsetDescription(String description) voidsetDisabled(boolean disabled) voidsetEndpoints(List<Endpoint> endpoints) voidsetIdentifiers(List<Identifier> identifiers) voidvoidsetMachineTags(List<MachineTag> machineTags) voidsetModified(Date modified) voidsetModifiedBy(String modifiedBy) voidsetOrganizationKey(UUID organizationKey) voidsetPassword(String password) voidvoidvoidsetType(InstallationType type) toString()
-
Constructor Details
-
Installation
public Installation()
-
-
Method Details
-
getKey
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) UUID getKey()- Specified by:
getKeyin interfaceNetworkEntity
-
setKey
- Specified by:
setKeyin interfaceNetworkEntity
-
getTitle
- Specified by:
getTitlein interfaceNetworkEntity
-
isDisabled
-
setDisabled
-
setTitle
- Specified by:
setTitlein interfaceNetworkEntity
-
getDescription
- Specified by:
getDescriptionin interfaceNetworkEntity
-
setDescription
- Specified by:
setDescriptionin interfaceNetworkEntity
-
getCreated
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getCreated()- Specified by:
getCreatedin interfaceNetworkEntity
-
setCreated
- Specified by:
setCreatedin interfaceNetworkEntity
-
getModified
@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getModified()- Specified by:
getModifiedin interfaceNetworkEntity
-
setModified
- Specified by:
setModifiedin interfaceNetworkEntity
-
getDeleted
- Specified by:
getDeletedin interfaceNetworkEntity
-
setDeleted
- Specified by:
setDeletedin interfaceNetworkEntity
-
getOrganizationKey
-
setOrganizationKey
-
getPassword
Get the installation password. This method is to be ignored on serialization, so that the password is not revealed in the web service response.- Returns:
- organization password
-
setPassword
-
getType
-
setType
-
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
-
equals
-
hashCode
-
toString
-
lenientEquals
Does not include the nested properties, or server controlled values (key, createdBy etc) or the password, for security reasons.- Specified by:
lenientEqualsin interfaceLenientEquals<Installation>- Parameters:
other- To compare against- Returns:
- true if...
-