public static InfoMasterDegreeThesis newInfoFromDomain(MasterDegreeThesis masterDegreeThesis) { InfoMasterDegreeThesis infoMasterDegreeThesis = null; if (masterDegreeThesis != null) { infoMasterDegreeThesis = new InfoMasterDegreeThesis(); infoMasterDegreeThesis.copyFromDomain(masterDegreeThesis); } return infoMasterDegreeThesis; }
@Override public boolean equals(Object obj) { boolean result = false; if (obj instanceof InfoMasterDegreeThesis) { InfoMasterDegreeThesis infoMasterDegreeThesis = (InfoMasterDegreeThesis) obj; result = this.infoStudentCurricularPlan.equals( infoMasterDegreeThesis.getInfoStudentCurricularPlan()); } return result; }