jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart" <christophe.lomb...@gmail.com>
Subject [OCM] Annotations
Date Mon, 01 Oct 2007 10:16:31 GMT
Hi,


Right now, an annotation for a field has to be defined on the getter method.
ex:


class Mycontent
{
    private String path;
    ....
    @field (path=true)
    public String getPath()
    {
        return path;
    }

}

I would like to set the annotation before the attribute def like :

class Mycontent
{
    @field (path=true) private String path;
    ....

    public String getPath()
    {
        return path;
    }

}


Is it ok for you ?


Christophe

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message