/**
  * The contructor by intialising
  *
  * @param factory the BuckFactory
  * @param book the book
  * @param people the people
  * @throws RemoteException
  */
 public TeacherListModel(List lstTeacher) throws RemoteException {
   LocalDataManager.getManager().addDataListener(ITeacher.class, new TeacherListener());
   this.lstTeacher = lstTeacher;
 }
 /**
  * To delete a party
  *
  * @param index the party to be deleted
  * @throws FlexiException
  * @throws RemoteException
  */
 public void remove(int index) throws RemoteException, FlexiException {
   LocalDataManager.getManager().deleteTeacher((ITeacher) lstTeacher.get(index));
   // this.fireIntervalRemoved(this,lstTeacher.size()-1,lstTeacher.size());
 }