X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjproduct%2Fmodel%2Fcategory%2FCategory.java;h=f77dc971d2d3ce09d4c157e2e1a8e9304345d586;hb=4b206bfb4e19a9e2ed5fc4ea1ce1329aa6d8be80;hp=37f12937ca849e403e51b5c634233ce0b0a04b2b;hpb=ec60137010f697f41035ff1f2b5e0bd66eb00b91;p=jproduct-core.git diff --git a/src/org/mxchange/jproduct/model/category/Category.java b/src/org/mxchange/jproduct/model/category/Category.java index 37f1293..f77dc97 100644 --- a/src/org/mxchange/jproduct/model/category/Category.java +++ b/src/org/mxchange/jproduct/model/category/Category.java @@ -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 *

- * @param category Source category instance + * @return Created timestamp */ - void copyAll (final Category category); + Date getCategoryCreated (); + + /** + * Setter for created timestamp + *

+ * @param categoryCreated Created timestamp + */ + void setCategoryCreated (final Date categoryCreated); /** * Id number of category