Examples of EJbsAddress


Examples of org.jabusuite.address.EJbsAddress

    public void checkData(boolean doAdditionalChecks) throws EJbsObject {
        super.checkData(doAdditionalChecks);
       
        if (doAdditionalChecks) {
            if ((this.getFirstName()==null) || (this.getFirstName().trim().equals("")))
                throw new EJbsAddress(EJbsAddress.ET_FIRSTNAME);
            if ((this.getPhone()==null) || (this.getPhone().trim().equals("")))
                throw new EJbsAddress(EJbsAddress.ET_PHONE);
            /*
            if (this.getBirthday()==null)
                throw new EJbsEmployee(EJbsEmployee.ET_BIRTHDAY);
             */
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.