]> git.mxchange.org Git - pizzaservice-lib.git/commitdiff
added block size and separator character
authorRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 07:45:24 +0000 (09:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 19:37:37 +0000 (21:37 +0200)
src/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBeanRemote.java

index 602520da5d395537837e08b8c2650f877c7ee7e3..2be1ff82d40159a1f4811e6e56cc6c1575d9a74d 100644 (file)
@@ -30,7 +30,17 @@ public interface PizzaAdminCustomerSessionBeanRemote extends AdminCustomerSessio
        /**
         * Length of customer number
         */
-       public static final long CUSTOMER_NUMBER_LENGTH = 10;
+       public static final int CUSTOMER_NUMBER_LENGTH = 10;
+
+       /**
+        * Amount of numbers until the separator symbol comes
+        */
+       public static final short CUSTOMER_NUMBER_BLOCK_SIZE = 5;
+
+       /**
+        * Separator symbol for above interval
+        */
+       public static final char CUSTOMER_NUMBER_SEPARATOR = '-';
 
        /**
         * Creates a new (free) customer number.