@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; }