Package org.adfemg.hr

Examples of org.adfemg.hr.TDepartment


    public static TDepartment toSOA(Department dept) {
        if (dept == null) {
            return null;
        }
        TDepartment retval = new TDepartment();
        retval.setId(toSOA(dept.getId()));
        retval.setName(dept.getName());
        retval.setManager(toSOA(dept.getManager()));
        retval.setLocation(toSOA(dept.getLocation()));
        List<TEmployee> emps = empRefsToSOA(dept.getEmployees());
        if (!emps.isEmpty()) {
            retval.setEmployees(new TDepartment.Employees());
            retval.getEmployees().getEmployee().addAll(empRefsToSOA(dept.getEmployees()));
        }
        return retval;
    }
View Full Code Here

TOP

Related Classes of org.adfemg.hr.TDepartment

Copyright © 2018 www.massapicom. 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.