From 8952e4414ac6923a4289ed38c6cf21ec72d66584 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 28 Apr 2016 11:34:38 +0200 Subject: [PATCH] Continued a bit: - added new field "customerUpdated", this should allow NULL ... - renamed field as this is only the last locked timestamp - added field lastLockedReason --- .../model/customer/Customer.java | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jcustomercore/model/customer/Customer.java b/src/org/mxchange/jcustomercore/model/customer/Customer.java index acbad7e..cbf4d01 100644 --- a/src/org/mxchange/jcustomercore/model/customer/Customer.java +++ b/src/org/mxchange/jcustomercore/model/customer/Customer.java @@ -77,6 +77,20 @@ public interface Customer extends Serializable { */ void setCustomerCreated (final Calendar customerCreated); + /** + * Getter for "updated" timestamp + *

+ * @return "updated" timestamp + */ + Calendar getCustomerUpdated (); + + /** + * Setter for "updated" timestamp + *

+ * @param customerUpdated "updated" timestamp + */ + void setCustomerUpdated (final Calendar customerUpdated); + /** * Getter for customer id number *

@@ -96,14 +110,28 @@ public interface Customer extends Serializable { *

* @return "locked" timestamp */ - Calendar getCustomerLocked (); + Calendar getCustomerLastLocked (); /** * Getter for "locked" timestamp *

* @param customerLocked "locked" timestamp */ - void setCustomerLocked (final Calendar customerLocked); + void setCustomerLastLocked (final Calendar customerLocked); + + /** + * Getter for reason of last locked + *

+ * @return Reason of last locked + */ + String getCustomerLastLockedReason (); + + /** + * Setter for reason of last locked + *

+ * @param lastLockedReason Reason of last locked + */ + void setCustomerLastLockedReason (final String lastLockedReason); /** * Getter for customer number -- 2.39.5