// Recurse to nested field type
processEmbeddedAttributeOverride(ammd, nestedMemberName, type, column);
}
else
{
Member overriddenMember = null;
java.lang.reflect.Member overrideMember = null;
AbstractMemberMetaData ammd = null;
// Try as field
try
{
overrideMember = type.getDeclaredField(overriddenName);
overriddenMember = new Member((Field)overrideMember);
ammd = new FieldMetaData(embmd, overriddenName);
}
catch (Exception e)
{
}
if (ammd == null)
{
// Try as property
try
{
overrideMember = type.getDeclaredMethod(ClassUtils.getJavaBeanGetterName(overriddenName, false));
overriddenMember = new Member((Method)overrideMember);
ammd = new PropertyMetaData(embmd, overriddenName);
}
catch (Exception e)
{
}