]> git.mxchange.org Git - jcustomer-core.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Thu, 28 Apr 2016 09:34:38 +0000 (11:34 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 28 Apr 2016 09:43:49 +0000 (11:43 +0200)
- added new field "customerUpdated", this should allow NULL ...
- renamed field as this is only the last locked timestamp
- added field lastLockedReason

src/org/mxchange/jcustomercore/model/customer/Customer.java

index acbad7e07f9e4249172922573c2902b74a01bb72..cbf4d01ec303bec501a73a992dc7d86a91eee439 100644 (file)
@@ -77,6 +77,20 @@ public interface Customer extends Serializable {
         */
        void setCustomerCreated (final Calendar customerCreated);
 
+       /**
+        * Getter for "updated" timestamp
+        * <p>
+        * @return "updated" timestamp
+        */
+       Calendar getCustomerUpdated ();
+
+       /**
+        * Setter for "updated" timestamp
+        * <p>
+        * @param customerUpdated "updated" timestamp
+        */
+       void setCustomerUpdated (final Calendar customerUpdated);
+
        /**
         * Getter for customer id number
         * <p>
@@ -96,14 +110,28 @@ public interface Customer extends Serializable {
         * <p>
         * @return "locked" timestamp
         */
-       Calendar getCustomerLocked ();
+       Calendar getCustomerLastLocked ();
 
        /**
         * Getter for "locked" timestamp
         * <p>
         * @param customerLocked "locked" timestamp
         */
-       void setCustomerLocked (final Calendar customerLocked);
+       void setCustomerLastLocked (final Calendar customerLocked);
+
+       /**
+        * Getter for reason of last locked
+        * <p>
+        * @return Reason of last locked
+        */
+       String getCustomerLastLockedReason ();
+
+       /**
+        * Setter for reason of last locked
+        * <p>
+        * @param lastLockedReason Reason of last locked
+        */
+       void setCustomerLastLockedReason (final String lastLockedReason);
 
        /**
         * Getter for customer number