String destinationName = myRelationshipMap.getString("destination", true); if (destinationName == null) { _failures.add(new EOModelVerificationFailure(myEntity.getName() + "'s " + myName + " relationship has no destination entity.")); } else { myDestination = myEntity.getModel().getModelGroup().getEntityNamed(destinationName); if (myDestination == null) { _failures.add(new MissingEntityFailure(destinationName));
if (!isFlattened()) { String destinationName = myRelationshipMap.getString("destination", true); if (destinationName == null) { _failures.add(new EOModelVerificationFailure(myEntity.getName() + "'s " + myName + " relationship has no destination entity.")); } else { myDestination = myEntity.getModel().getModelGroup().getEntityNamed(destinationName); if (myDestination == null) { _failures.add(new MissingEntityFailure(destinationName)); }
  public void resolve(Set _failures) {    String destinationName = myRelationshipMap.getString("destination", true); //$NON-NLS-1$    if (destinationName == null) {      _failures.add(new EOModelVerificationFailure(myEntity.getName() + "'s " + myName + " relationship has no destination entity."));    }    else {      myDestination = myEntity.getModel().getModelGroup().getEntityNamed(destinationName);      if (myDestination == null) {        _failures.add(new MissingEntityFailure(destinationName));      }    }    Iterator joinsIter = myJoins.iterator();    while (joinsIter.hasNext()) {      EOJoin join = (EOJoin) joinsIter.next();      join.resolve(_failures);    }  }