public ListModel(Session session) {
		this.session = session;
		session.addListener(this);
		
		numRecords = new ArrayList<Integer>();
		if (session.isHaveBatch()) {
			for (int i = 0; i < session.getNumRecords(); i++) {
				numRecords.add(i+1);
			}
		}
	}