- BaseLongeValidator has been renamed to BaseNumberValidator as it also validates Integer and Short
Signed-off-by: Roland Häder <roland@mxchange.org>
import org.mxchange.addressbook.model.addressbook.AddressbookSessionBeanRemote;
import org.mxchange.jaddressbook.exceptions.AddressbookNotFoundException;
import org.mxchange.jaddressbook.model.addressbook.Addressbook;
-import org.mxchange.jcoreee.validator.number.BaseLongValidator;
+import org.mxchange.jcoreee.validator.number.BaseNumberValidator;
/**
* A validator for address book id verification
* @author Roland Häder<roland@mxchange.org>
*/
@FacesValidator ("AddressbookIdValidator")
-public class AddressbookIdValidator extends BaseLongValidator {
+public class AddressbookIdValidator extends BaseNumberValidator {
/**
* 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 AddressbookPhoneNumberValidator extends BaseLongValidator implements Validator {
+public class AddressbookPhoneNumberValidator 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 AddressbookUserIdValidator extends BaseLongValidator implements Validator {
+public class AddressbookUserIdValidator extends BaseNumberValidator implements Validator {
/**
* Remote bean