attend = (IFrequenta)((IAttendInAttendsSet)iterAttends.next()).getAttend();
attend = ((IAttendInAttendsSet)iterAttends.next()).getAttend();
	public IFrequenta getStudentAttend(IStudent student){		IFrequenta attend=null;		boolean found = false;		Iterator iterAttends = getAttendInAttendsSet().iterator();		while(iterAttends.hasNext() && !found)		{			attend = (IFrequenta)((IAttendInAttendsSet)iterAttends.next()).getAttend();			if(attend.getAluno().getIdInternal().equals(student.getIdInternal())){				return attend;			}			attend = null;		}		return attend;	}