if((element.getExecutionYear().equals(year)) && (element.getName().equals(executionPeriodName)))
if((element.getExecutionYear().getYear().equals(year)) && (element.getName().equals(executionPeriodName)))
    public IExecutionPeriod readByNameAndExecutionYear(String executionPeriodName, String year) throws ExcepcaoPersistencia {        List executionPeriods = readAllExecutionPeriod();           for (Iterator iter = executionPeriods.iterator(); iter.hasNext();) {            ExecutionPeriod element = (ExecutionPeriod) iter.next();            if((element.getExecutionYear().equals(year)) && (element.getName().equals(executionPeriodName)))                return element;        }                return null;    }