protected void processPojoAnnotations(Object pojo, Object keyFieldName, Object parent)
{
List<Field> declaredFields = ReflectionUtils.getInheritedFields(pojo.getClass());
for (Field declaredField : declaredFields)
{
Key keyAnnotation = declaredField.getAnnotation(Key.class);
Parent parentAnnotation = declaredField.getAnnotation(Parent.class);
if (keyAnnotation != null)
{
ReflectionUtils.setProperty(pojo, declaredField.getName(), keyFieldName);
}