[ 
https://issues.apache.org/jira/browse/GORA-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apostolos Giannakidis updated GORA-264:
---------------------------------------

    Attachment: GORA-264.patch
                vertex.json

Hello,

Attached is a patch for the GoraCompiler that adds javadocs to the generated 
data beans. Some of the javadoc that is added is static and some is dynamic, 
taken from the json avro schema. Therefore, I extended the json avro schema to 
also understand and use the "doc" attribute. Attached is also the vertex.json 
that illustrates the use of the doc attribute.

I would be grateful if you could review the patch. Also, please test the patch 
with the attached vertex.json so you can test the doc attribute. Finally, I am 
not sure about the static javadoc for the Map and Union types, so any review 
would be much appreciated.

Best regards,
Apos
                
> Make generated data beans more java doc friendly
> ------------------------------------------------
>
>                 Key: GORA-264
>                 URL: https://issues.apache.org/jira/browse/GORA-264
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>            Reporter: Renato Javier MarroquĂ­n Mogrovejo
>            Assignee: Apostolos Giannakidis
>            Priority: Minor
>         Attachments: GORA-264.patch, GVertex.java, vertex.json, vertex.json
>
>
> Generating code through our Gora Compiler is in pretty good shape but our 
> generated data beans are not so good looking as they don't have any java doc 
> in them. As we are already generating the whole code, I think we could add 
> some java doc to make them look better.

--
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

Reply via email to