- BaseLongeValidator has been renamed to BaseNumberValidator as it also validates Integer and Short
Signed-off-by: Roland Häder <roland@mxchange.org>
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
/**
* A validator for item amount
* @author Roland Häder<roland@mxchange.org>
*/
@FacesValidator ("ItemAmountValidator")
-public class PizzaItemAmountValidator extends BaseLongValidator implements Validator {
+public class PizzaItemAmountValidator extends BaseNumberValidator implements Validator {
/**
* Serial number
import javax.faces.validator.FacesValidator;
import javax.faces.validator.Validator;
import javax.faces.validator.ValidatorException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
/**
* A validator for phone, fax and mobile numbers
* @author Roland Häder<roland@mxchange.org>
*/
@FacesValidator ("PhoneNumberValidator")
-public class PizzaPhoneNumberValidator extends BaseLongValidator implements Validator {
+public class PizzaPhoneNumberValidator extends BaseNumberValidator implements Validator {
/**
* Serial number
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
import org.mxchange.jusercore.model.user.UserSessionBeanRemote;
/**
* @author Roland Häder<roland@mxchange.org>
*/
@FacesValidator ("UserIdValidator")
-public class PizzaUserIdValidator extends BaseLongValidator implements Validator {
+public class PizzaUserIdValidator extends BaseNumberValidator implements Validator {
/**
* Remote bean