Package org.gbif.api.model.occurrence
Class PredicateDownloadRequest
java.lang.Object
org.gbif.api.model.occurrence.DownloadRequest
org.gbif.api.model.occurrence.PredicateDownloadRequest
- All Implemented Interfaces:
Serializable
An occurrence download request whose filters are based on predicates ( see
Predicate).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPredicateDownloadRequest(Predicate predicate, String creator, Collection<String> notificationAddresses, Boolean sendNotification, DownloadFormat format, DownloadType type, String description, com.fasterxml.jackson.databind.JsonNode machineDescription, Set<Extension> verbatimExtensions, String checklistKey) Full constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean@Valid PredicateRequested verbatimExtensions for this download.inthashCode()voidsetPredicate(Predicate predicate) voidsetVerbatimExtensions(Set<Extension> verbatimExtensions) toString()Methods inherited from class org.gbif.api.model.occurrence.DownloadRequest
getChecklistKey, getCreator, getDescription, getFileExtension, getFormat, getMachineDescription, getNotificationAddresses, getNotificationAddressesAsString, getSendNotification, getType, setChecklistKey, setCreator, setDescription, setFormat, setMachineDescription, setNotificationAddresses, setNotificationAddressesAsString, setSendNotification, setType
-
Constructor Details
-
PredicateDownloadRequest
public PredicateDownloadRequest() -
PredicateDownloadRequest
public PredicateDownloadRequest(Predicate predicate, @Nullable String creator, @Nullable Collection<String> notificationAddresses, @Nullable Boolean sendNotification, @Nullable DownloadFormat format, @Nullable DownloadType type, @Nullable String description, @Nullable com.fasterxml.jackson.databind.JsonNode machineDescription, @Nullable Set<Extension> verbatimExtensions, @Nullable String checklistKey) Full constructor. Used to create instances using JSON serialization.
-
-
Method Details
-
getPredicate
- Returns:
- the download filter
-
setPredicate
-
getVerbatimExtensions
Requested verbatimExtensions for this download. -
setVerbatimExtensions
-
equals
- Overrides:
equalsin classDownloadRequest
-
hashCode
- Overrides:
hashCodein classDownloadRequest
-
toString
- Overrides:
toStringin classDownloadRequest
-