if (myCustomQueryExpression != null && myCustomQueryExpression.trim().length() == 0) { _failures.add(new EOModelVerificationFailure(myEntity.getModel().getName() + "/" + myEntity.getName() + "/" + myName + " has an empty custom SQL.")); } if (myCustomQueryExpression != null && myStoredProcedure != null) { _failures.add(new EOModelVerificationFailure(myEntity.getModel().getName() + "/" + myEntity.getName() + "/" + myName + " specifies custom SQL and a stored procedure name")); }
  public void verify(Set _failures) {    // TODO    //    if (myQualifier != null) {    //      myQualifier.verify(_failures);    //    }    Iterator sortOrderingsIter = mySortOrderings.iterator();    while (sortOrderingsIter.hasNext()) {      EOSortOrdering sortOrdering = (EOSortOrdering) sortOrderingsIter.next();      sortOrdering.verify(_failures);    }  }