//Copyright   2014 Oracle and/or its affiliates. All rights reserved.

        public Object clone() {

        DepartmentsEntity dept = new DepartmentsEntity();

        dept.setDepartmentId(departmentId);
        dept.setDepartmentName(departmentName);
        dept.setLocationId(locationId);
        dept.setManagerId(managerId);

        return dept;
    }