/* * Created on 11/Fev/2004 */ package net.sourceforge.fenixedu.dataTransferObject.enrollment.shift; import net.sourceforge.fenixedu.dataTransferObject.DataTranferObject; import net.sourceforge.fenixedu.dataTransferObject.InfoShift; /** * @author jpvl */ public class ShiftEnrollmentDetails extends DataTranferObject { private InfoShift infoShift; private Integer vacancies; /* * (non-Javadoc) * * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { boolean resultado = false; if (obj instanceof ShiftEnrollmentDetails) { ShiftEnrollmentDetails details = (ShiftEnrollmentDetails) obj; resultado = getInfoShift().equals(details.getInfoShift()); } return resultado; } /** * @return Returns the infoShift. */ public InfoShift getInfoShift() { return infoShift; } /** * @return Returns the vacancies. */ public Integer getVacancies() { return vacancies; } /** * @param infoShift * The infoShift to set. */ public void setInfoShift(InfoShift infoShift) { this.infoShift = infoShift; } /** * @param vacancies * The vacancies to set. */ public void setVacancies(Integer vacancies) { this.vacancies = vacancies; } }