if (!((EventConstraints)m_listenee).eventGeneratable("classifier")) {
if (!((EventConstraints)m_listenee). eventGeneratable("batchClassifier")) {
  public boolean eventGeneratable(String eventName) {    if (m_listenee == null) {      return false;    }    if (m_listenee instanceof EventConstraints) {      if (!((EventConstraints)m_listenee).eventGeneratable("classifier")) {	return false;      }    }    return true;  }