/* * Created on Sep 6, 2003 * */ package net.sourceforge.fenixedu.util; import com.linkare.commons.metainfo.Linkare; /** * @author Luis Cruz * */ public class AdvisoryRecipients extends FenixUtil { public static final int STUDENTS = 1; public static final int TEACHERS = 2; public static final int EMPLOYEES = 3; private Integer recipients; /** * */ public AdvisoryRecipients() { super(); recipients = null; } public AdvisoryRecipients(Integer recipients) { super(); this.recipients = recipients; } /** * @return */ public Integer getRecipients() { return recipients; } /** * @param integer */ public void setRecipients(Integer integer) { recipients = integer; } /** * @param i * @return */ @Linkare(author = "Paulo Zenida", comments = "Prevented violation Naming - suspicious equals method name") public boolean equalsTo(int i) { if (recipients != null && recipients.intValue() == i) { return true; } return false; } }