package net.sourceforge.fenixedu.presentationTier.Action.BolonhaManager; import java.io.Serializable; import net.sourceforge.fenixedu.domain.Department; import net.sourceforge.fenixedu.domain.DomainReference; public class ChooseDepartmentBean implements Serializable { private static final long serialVersionUID = 1L; private DomainReference department; /** * @return the department */ public Department getDepartment() { return department == null ? null : department.getObject(); } /** * @param department * the department to set */ public void setDepartment(Department department) { this.department = department == null ? null : new DomainReference(department); } }