From db9f287ec3db794a3f8dd5a9fbc1d097e9b1aa03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 26 Apr 2016 09:45:24 +0200 Subject: [PATCH] added block size and separator character --- .../PizzaAdminCustomerSessionBeanRemote.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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. -- 2.39.5