public Double getMinimumCredits() throws FenixFilterException, FenixServiceException {
public Double getMinimumCredits() {
    public Double getMinimumCredits() throws FenixFilterException, FenixServiceException {        if (getViewState().getAttribute("minimumCredits") == null) {            if (getCurricularRule() != null && getCurricularRule() instanceof CreditsLimit) {                setMinimumCredits(((CreditsLimit) getCurricularRule()).getMinimum());                           } else if (getCurricularRule() != null && getCurricularRule() instanceof RestrictionBetweenDegreeModules) {                setMinimumCredits(((RestrictionBetweenDegreeModules) getCurricularRule()).getMinimum());            } else if (getCurricularRule() != null && getCurricularRule() instanceof MinimumNumberOfCreditsToEnrol) {                setMinimumCredits(((MinimumNumberOfCreditsToEnrol) getCurricularRule()).getMinimum());            } else {                setMinimumCredits(Double.valueOf(0));            }        }        return (Double) getViewState().getAttribute("minimumCredits");    }