From: Roland Häder Date: Tue, 26 Apr 2016 07:45:24 +0000 (+0200) Subject: added block size and separator character X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db9f287ec3db794a3f8dd5a9fbc1d097e9b1aa03;p=pizzaservice-lib.git added block size and separator character --- diff --git a/src/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBeanRemote.java b/src/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBeanRemote.java index 602520d..2be1ff8 100644 --- a/src/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBeanRemote.java +++ b/src/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBeanRemote.java @@ -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.