if (parent != null && !BooleanUtils.isTrue(parent.isAbstractEntity()) && getRestrictingQualifier() == null) {
if (parent != null && !BooleanUtils.isTrue(parent.isAbstractEntity()) && getRestrictingQualifier() == null && ComparisonUtils.equals(parent.getExternalName(), getExternalName())) {
	public void verify(Set _failures) {		String name = getName();		if (name == null || name.trim().length() == 0) {			_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + " has an empty name.", false));		} else {			if (name.indexOf(' ') != -1) {				_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + "'s name has a space in it.", false));			}			if (!StringUtils.isUppercaseFirstLetter(myName)) {				_failures.add(new EOModelVerificationFailure(myModel, "Entity names should be capitalized, but " + getFullyQualifiedName() + " is not.", true));			}		}		Iterator attributeIter = myAttributes.iterator();		while (attributeIter.hasNext()) {			EOAttribute attribute = (EOAttribute) attributeIter.next();			attribute.verify(_failures);		}		Iterator relationshipIter = myRelationships.iterator();		while (relationshipIter.hasNext()) {			EORelationship relationship = (EORelationship) relationshipIter.next();			relationship.verify(_failures);		}		Iterator fetchSpecIter = myFetchSpecs.iterator();		while (fetchSpecIter.hasNext()) {			EOFetchSpecification fetchSpec = (EOFetchSpecification) fetchSpecIter.next();			fetchSpec.verify(_failures);		}		if (!isPrototype()) {			String externalName = getExternalName();			if (externalName == null || externalName.trim().length() == 0) {				if (!BooleanUtils.isTrue(isAbstractEntity())) {					_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + " has an empty table name.", false));				}			} else if (externalName.indexOf(' ') != -1) {				_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + "'s table name '" + externalName + "' has a space in it.", false));			}		}		EOEntity parent = getParent();		if (parent != null && !BooleanUtils.isTrue(parent.isAbstractEntity()) && getRestrictingQualifier() == null) {			_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + " is a subclass of " + getParent().getName() + " but does not have a restricting qualifier.", false));		}		Set primaryKeyAttributes = getPrimaryKeyAttributes();		if (primaryKeyAttributes.isEmpty()) {			_failures.add(new EOModelVerificationFailure(myModel, getFullyQualifiedName() + " does not have a primary key.", false));		}	}