Class MetasyncHistory
java.lang.Object
org.gbif.api.model.registry.metasync.MetasyncHistory
Metadata synchronization historical information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetails about the metasync operation.@NotNull UUIDKey of the synchronized installation.Result of the metasync operation.@Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) DateDate when the metasync operation was executed.inthashCode()voidsetDetails(String details) voidsetInstallationKey(UUID installationKey) voidsetResult(MetasyncResult result) voidsetSyncDate(Date syncDate) toString()
-
Constructor Details
-
MetasyncHistory
public MetasyncHistory()
-
-
Method Details
-
getInstallationKey
Key of the synchronized installation.- Returns:
- the installation key that was synchronized
-
setInstallationKey
-
getSyncDate
@Nullable @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) public @Null(groups=PrePersist.class) @NotNull(groups=PostPersist.class) Date getSyncDate()Date when the metasync operation was executed.
NB: null before the record is persisted, not-null afterwards.- Returns:
- timestamp when the synchronization was executed
-
setSyncDate
-
getResult
Result of the metasync operation.- Returns:
- the result of the metasync operation
-
setResult
-
getDetails
Details about the metasync operation.- Returns:
- the metasync details
-
setDetails
-
equals
-
hashCode
-
toString
-