--- /dev/null
+/*
+ * Copyright (C) 2016 - 2018 Free Software Foundation
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jproduct.events.product.updated;
+
+import java.io.Serializable;
+import org.mxchange.jproduct.model.product.Product;
+
+/**
+ * An interface for updated product events
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface ObservableProductUpdatedEvent extends Serializable {
+
+ /**
+ * Getter for updated product instance
+ * <p>
+ * @return Updated product instance
+ */
+ public Product getUpdatedProduct ();
+
+}
* <p>
* @author Roland Häder<roland@mxchange.org>
*/
-public class ProductUpdatedEvent implements UpdatedProductEvent {
+public class ProductUpdatedEvent implements ObservableProductUpdatedEvent {
/**
* Serial number
+++ /dev/null
-/*
- * Copyright (C) 2016 - 2018 Free Software Foundation
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.jproduct.events.product.updated;
-
-import java.io.Serializable;
-import org.mxchange.jproduct.model.product.Product;
-
-/**
- * An interface for updated product events
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-public interface UpdatedProductEvent extends Serializable {
-
- /**
- * Getter for updated product instance
- * <p>
- * @return Updated product instance
- */
- public Product getUpdatedProduct ();
-
-}
targetProduct.setProductAgeGroup(sourceProduct.getProductAgeGroup());
targetProduct.setProductAvailability(sourceProduct.getProductAvailability());
targetProduct.setProductCategory(sourceProduct.getProductCategory());
- targetProduct.setProductCreated(sourceProduct.getProductCreated());
targetProduct.setProductCurrencyCode(sourceProduct.getProductCurrencyCode());
targetProduct.setProductGrossPrice(sourceProduct.getProductGrossPrice());
targetProduct.setProductI18nKey(sourceProduct.getProductI18nKey());
/**
* Age group "senior"
*/
- AGE_GROUP_SENIOR("AGE_GROUP_SENIOR"); //NOI18N//NOI18N
+ AGE_GROUP_SENIOR("AGE_GROUP_SENIOR"); //NOI18N
/**
* I18n key for age group/class