/* * StudentCurricularState.java Created on 20 de Dezembro de 2002, 14:12 */ package net.sourceforge.fenixedu.domain.studentCurricularPlan; import java.util.Locale; import java.util.ResourceBundle; import pt.utl.ist.fenix.tools.util.i18n.Language; /** * @author Nuno Nunes & Joana Mota */ public enum StudentCurricularPlanState { ACTIVE, CONCLUDED, INCOMPLETE, SCHOOLPARTCONCLUDED, INACTIVE, PAST; public String getName() { return name(); } public String getLocalizedName() { return getLocalizedName(Language.getLocale()); } public String getLocalizedName(final Locale locale) { return ResourceBundle.getBundle("resources.EnumerationResources", locale).getString(getName()); } }