]> git.mxchange.org Git - jproduct-core.git/blobdiff - src/org/mxchange/jproduct/model/category/Category.java
Continued:
[jproduct-core.git] / src / org / mxchange / jproduct / model / category / Category.java
index 37f12937ca849e403e51b5c634233ce0b0a04b2b..f77dc971d2d3ce09d4c157e2e1a8e9304345d586 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -17,6 +17,7 @@
 package org.mxchange.jproduct.model.category;
 
 import java.io.Serializable;
+import java.util.Date;
 
 /**
  * An interface for categories
@@ -26,11 +27,18 @@ import java.io.Serializable;
 public interface Category extends Serializable {
 
        /**
-        * Copies all properties from other category to this
+        * Getter for created timestamp
         * <p>
-        * @param category Source category instance
+        * @return Created timestamp
         */
-       void copyAll (final Category category);
+       Date getCategoryCreated ();
+
+       /**
+        * Setter for created timestamp
+        * <p>
+        * @param categoryCreated Created timestamp
+        */
+       void setCategoryCreated (final Date categoryCreated);
 
        /**
         * Id number of category