]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
updated jcore + made customer final
authorRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 19:51:33 +0000 (21:51 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 4 Sep 2015 20:05:59 +0000 (22:05 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/jcore.jar
src/java/org/mxchange/pizzaapplication/beans/customer/CustomerWebBean.java
src/java/org/mxchange/pizzaapplication/beans/customer/PizzaServiceCustomerWebBean.java
src/java/org/mxchange/pizzaapplication/beans/enums/DataWebBean.java
src/java/org/mxchange/pizzaapplication/beans/enums/PizzaServiceDataWebBean.java

index 7a77632a281c93f7ff19129f0a989e5c5f231abc..f9fd3c434859fde0ad2b8326dba269516959d78d 100644 (file)
Binary files a/lib/jcore.jar and b/lib/jcore.jar differ
index 13e9c27ac46393184202c9f063df49d3b7751afa..7bce7d361d6b6a4b415031b917f2256b1ca7c573 100644 (file)
@@ -16,8 +16,7 @@
  */
 package org.mxchange.pizzaapplication.beans.customer;
 
-import org.mxchange.jcore.client.Client;
-import org.mxchange.jcore.contact.gender.Gender;
+import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jshop.beans.FrameworkBean;
 
 /**
index c7f873d3dabf51662c640ee44a7294d2728be701..b43fa5574ce1cdd00288f4959adb05f1ba1c9ae5 100644 (file)
@@ -18,7 +18,7 @@ package org.mxchange.pizzaapplication.beans.customer;
 
 import javax.enterprise.context.SessionScoped;
 import javax.inject.Named;
-import org.mxchange.jcore.contact.gender.Gender;
+import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jshop.beans.BaseFrameworkBean;
 import org.mxchange.jshop.model.customer.Customer;
 import org.mxchange.jshop.model.customer.ShopCustomer;
@@ -39,17 +39,14 @@ public class PizzaServiceCustomerWebBean extends BaseFrameworkBean implements Cu
        /**
         * Customer instance
         */
-       private Customer customer;
+       private final Customer customer;
 
        /**
         * Default constructor
         */
        public PizzaServiceCustomerWebBean () {
                // Instance customer
-               Customer customer = new ShopCustomer();
-
-               // And set it here
-               this.setCustomer(customer);
+               this.customer = new ShopCustomer();
        }
 
        @Override
@@ -249,16 +246,9 @@ public class PizzaServiceCustomerWebBean extends BaseFrameworkBean implements Cu
                throw new UnsupportedOperationException("Not supported yet."); //NOI18N
        }
 
-       /**
-        * Setter for Customer instance
-        * @param customer Contact instance to set
-        */
-       private void setCustomer (final Customer customer) {
-               this.customer = customer;
-       }
-
        /**
         * Getter for Customer instance
+        *
         * @return Contact instance
         */
        private Customer getCustomer () {
index fa210d00b48f7c1ae11b42173c75c8240c52631c..57a9d7d5de19e639400a848809ed1fd9c09427d4 100644 (file)
@@ -17,7 +17,7 @@
 package org.mxchange.pizzaapplication.beans.enums;
 
 import java.util.List;
-import org.mxchange.jcore.contact.gender.Gender;
+import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jshop.beans.FrameworkBean;
 
 /**
index 3d32fc9c57f05b369a0b2f6418d9f4cf5ba9bf14..66cfa6b1c58e0d99a70fc295fdf7fd906d43ce64 100644 (file)
@@ -22,7 +22,7 @@ import java.util.Arrays;
 import java.util.List;
 import javax.enterprise.context.ApplicationScoped;
 import javax.inject.Named;
-import org.mxchange.jcore.contact.gender.Gender;
+import org.mxchange.jcore.model.contact.gender.Gender;
 import org.mxchange.jshop.beans.BaseFrameworkBean;
 
 /**