From 429b7a70014a61469859a948261b043ecb022c21 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 4 Sep 2015 19:17:04 +0200 Subject: [PATCH] =?utf8?q?They=20had=20been=20moved=20to=20jshop=20as=20th?= =?utf8?q?ey=20can=20be=20made=20generic,=20Signed-off-by:Roland=20H=C3=A4?= =?utf8?q?der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../customer/PizzaServiceCustomerBean.java | 4 +-- .../model/customer/Customer.java | 28 ------------------- .../model/customer/PizzaServiceCustomer.java | 26 ----------------- 3 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 src/java/org/mxchange/pizzaapplication/model/customer/Customer.java delete mode 100644 src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java index 17a3942b..cac67c77 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java @@ -26,7 +26,7 @@ import org.mxchange.jcore.client.Client; import org.mxchange.jcore.contact.Contact; import org.mxchange.jcore.contact.gender.Gender; import org.mxchange.jshop.beans.BaseFrameworkBean; -import org.mxchange.pizzaapplication.model.customer.PizzaServiceCustomer; +import org.mxchange.jshop.model.customer.ShopCustomer; /** * A customer bean which hides the customer instance @@ -51,7 +51,7 @@ public class PizzaServiceCustomerBean extends BaseFrameworkBean implements Custo */ public PizzaServiceCustomerBean () { // Instance customer - Contact customer = new PizzaServiceCustomer(); + Contact customer = new ShopCustomer(); // And set it here this.setContact(customer); diff --git a/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java b/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java deleted file mode 100644 index 2a520bfa..00000000 --- a/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * 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 - * 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.pizzaapplication.model.customer; - -import org.mxchange.jcore.contact.Contact; - -/** - * A customer interface - * - * @author Roland Haeder - */ -public interface Customer extends Contact { - -} diff --git a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java deleted file mode 100644 index d9671ef6..00000000 --- a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * 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 - * 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.pizzaapplication.model.customer; - -import org.mxchange.jcore.contact.BaseContact; - -/** - * - * @author Roland Haeder - */ -public class PizzaServiceCustomer extends BaseContact implements Customer { -} -- 2.39.5