Education Minister Norma Foley says that, if there are cases of coronavirus among pupils, whole classes could be asked to self isolate.