Change By: Pedro Igor (29/Oct/13 10:19 PM)
Description: Currently, annotations are not being recognized in fields. Eg.:

{code}
   @AttributeProperty
    private String firstName;

    @AttributeProperty
    private String lastName;

    @AttributeProperty
    private String email;
{code}

The Property Query API should also consider the field when looking for annotations and also consider that if a field is annotated its corresponding accessor method inherits the annotation.


This issue usually happens when using the NamedPropertyCriteria. This is because the accessor matches, the field is not considered. So the resulting Property instance will always be a MethodProperty, which in this case does not have the annotation.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira