for (Object column : embeddedColumn.getAttributes())
{
Attribute columnAttribute = (Attribute) column;
Field f = (Field) columnAttribute.getJavaMember();
this.factory.validate(f, embeddedObject, new AttributeConstraintRule());
}
}
}
else
{
for (Object column : embeddedColumn.getAttributes())
{
Attribute columnAttribute = (Attribute) column;
Field f = (Field) ((Field) columnAttribute.getJavaMember());
this.factory.validate(f, embeddedObject, new AttributeConstraintRule());
}
}
}