From: Roland Haeder Date: Fri, 4 Sep 2015 17:16:00 +0000 (+0200) Subject: These are model classes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=875feef786bbaac4ebaf77a76dfc361b08e0673d;p=pizzaservice-war.git These are model classes Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java b/src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerBean.java index b57ce0e0..17a3942b 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.customer.PizzaServiceCustomer; +import org.mxchange.pizzaapplication.model.customer.PizzaServiceCustomer; /** * A customer bean which hides the customer instance diff --git a/src/java/org/mxchange/pizzaapplication/customer/Customer.java b/src/java/org/mxchange/pizzaapplication/customer/Customer.java deleted file mode 100644 index 7d2cf5f4..00000000 --- a/src/java/org/mxchange/pizzaapplication/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.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/customer/PizzaServiceCustomer.java b/src/java/org/mxchange/pizzaapplication/customer/PizzaServiceCustomer.java deleted file mode 100644 index a83f0656..00000000 --- a/src/java/org/mxchange/pizzaapplication/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.customer; - -import org.mxchange.jcore.contact.BaseContact; - -/** - * - * @author Roland Haeder - */ -public class PizzaServiceCustomer extends BaseContact implements Customer { -} diff --git a/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java b/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java new file mode 100644 index 00000000..2a520bfa --- /dev/null +++ b/src/java/org/mxchange/pizzaapplication/model/customer/Customer.java @@ -0,0 +1,28 @@ +/* + * 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 new file mode 100644 index 00000000..d9671ef6 --- /dev/null +++ b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaServiceCustomer.java @@ -0,0 +1,26 @@ +/* + * 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 { +}