private void fireEvent(int eventId) {
		TableListener[] ls = listenerList.getListeners(TableListener.class);
		if (ls == null || ls.length == 0) {
			return;
		}
		TableEvent e = new TableEvent(this);
		for (TableListener l : ls) {
			switch (eventId) {
				case TableEvent.BEFORE_INSERT:
					l.beforeInsert(e);
					break;
				case TableEvent.AFTER_INSERT:
					l.afterInsert(e);
					break;
				case TableEvent.BEFORE_UPDATE:
					l.beforeUpdate(e);
					break;
				case TableEvent.AFTER_UPDATE:
					l.afterUpdate(e);
					break;
				case TableEvent.BEFORE_DELETE:
					l.beforeDelete(e);
					break;
				case TableEvent.AFTER_DELETE:
					l.afterDelete(e);
					break;
			}
		}
	}