infoEquivalencies.add(InfoEquivalency.newInfoFromDomain(equivalency));
infoEquivalencies.add(InfoEquivalencyWithCurricularCourse.newInfoFromDomain(equivalency));
    public List run() throws BDException {        List infoEquivalencies = new LinkedList();        try {            ISuportePersistente persistenceSupport = PersistenceSupportFactory.getDefaultPersistenceSupport();            IPersistentSeminaryCurricularCourseEquivalency persistentEquivalency = persistenceSupport                    .getIPersistentSeminaryCurricularCourseEquivalency();            List equivalencies = persistentEquivalency.readAll();            for (Iterator iterator = equivalencies.iterator(); iterator.hasNext();) {                ICourseEquivalency equivalency = (ICourseEquivalency) iterator.next();                infoEquivalencies.add(InfoEquivalency.newInfoFromDomain(equivalency));            }        } catch (ExcepcaoPersistencia ex) {            throw new BDException(                    "Got an error while trying to retrieve mutiple modalities from the database", ex);        }        return infoEquivalencies;    }