]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
They had been moved to jshop as they can be made generic,
authorRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 17:17:04 +0000 (19:17 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 17:18:00 +0000 (19:18 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java
src/java/org/mxchange/pizzaapplication/model/customer/Customer.java [deleted file]
src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java [deleted file]

index 17a3942ba77c07f92d756b68d1d3adf837bd743c..cac67c770748fbdc5ba13be7fb1407a9b6222941 100644 (file)
@@ -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 (file)
index 2a520bf..0000000
+++ /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 <http://www.gnu.org/licenses/>.
- */
-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 (file)
index d9671ef..0000000
+++ /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 <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.pizzaapplication.model.customer;
-
-import org.mxchange.jcore.contact.BaseContact;
-
-/**
- *
- * @author Roland Haeder
- */
-public class PizzaServiceCustomer extends BaseContact implements Customer {
-}