if (c.wasFormSubmitted()) {
Object realSource = realSourceObject();
if(realSource instanceof EOEnterpriseObject) {
EOEnterpriseObject localObject = (EOEnterpriseObject)realSource;
String realRelationshipKey = realRelationshipKey();
Object value = localObject.valueForKeyPath(realRelationshipKey);
try {
localObject.validateValueForKey(value, realRelationshipKey);
} catch (NSValidation.ValidationException eov) {
parent().validationFailedWithException(eov, value, relationshipKey());
}