if (obj instanceof IEnrolment) { IEnrolment enrolment = (IEnrolment) obj;
if (obj instanceof IEnrollment) { IEnrollment enrolment = (IEnrollment) obj;
	public boolean equals(Object obj)	{		boolean result = false;		if (obj instanceof IEnrolment) {			IEnrolment enrolment = (IEnrolment) obj;						result =				this.getStudentCurricularPlan().equals(enrolment.getStudentCurricularPlan()) &&				this.getCurricularCourse().equals(enrolment.getCurricularCourse()) &&				this.getExecutionPeriod().equals(enrolment.getExecutionPeriod());		}		return result;	}