@Column (name = "provider_entry_created", nullable = false, updatable = false)
private Date providerEntryCreated;
+ /**
+ * Timestamp when this entry has been created
+ */
+ @Temporal (TemporalType.TIMESTAMP)
+ @Column (name = "provider_entry_updated", insertable = false)
+ private Date providerEntryUpdated;
+
/**
* Id number
*/
this.providerEntryCreated = providerEntryCreated;
}
+ @Override
+ @SuppressWarnings ("ReturnOfDateField")
+ public Date getProviderEntryUpdated () {
+ return this.providerEntryUpdated;
+ }
+
+ @Override
+ @SuppressWarnings ("AssignmentToDateFieldFromParameter")
+ public void setProviderEntryUpdated (final Date providerEntryUpdated) {
+ this.providerEntryUpdated = providerEntryUpdated;
+ }
+
@Override
public Long getProviderId () {
return this.providerId;
*/
void setProviderEntryCreated (final Date providerEntryCreated);
+ /**
+ * Getter for timestamp when this entry has been updated
+ * <p>
+ * @return Timestamp when this entry has been updated
+ */
+ Date getProviderEntryUpdated ();
+
+ /**
+ * Setter for timestamp when this entry has been updated
+ * <p>
+ * @param providerEntryUpdated Timestamp when this entry has been updated
+ */
+ void setProviderEntryUpdated (final Date providerEntryUpdated);
+
/**
* Getter for pattern for mail gateway
* <p>