You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Alfonso Nishikawa (JIRA)" <ji...@apache.org> on 2014/01/07 17:35:55 UTC

[jira] [Commented] (GORA-189) String parameters in generated Persistent subclasses by Compiler -not only Utf8-

    [ https://issues.apache.org/jira/browse/GORA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864366#comment-13864366 ] 

Alfonso Nishikawa commented on GORA-189:
----------------------------------------

Hi! I am late too, sorry!
Just an example as explanation:

About having to do:
{code}
myPersistent.setName(new Utf8("John")) ;
{code}
be able to do:
{code}
myPersistent.setName("John");
{code}

Similar way for maps, arrays,...

> String parameters in generated Persistent subclasses by Compiler -not only Utf8-
> --------------------------------------------------------------------------------
>
>                 Key: GORA-189
>                 URL: https://issues.apache.org/jira/browse/GORA-189
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>    Affects Versions: 0.2.1
>            Reporter: Alfonso Nishikawa
>            Assignee: Alfonso Nishikawa
>            Priority: Trivial
>             Fix For: 0.4
>
>         Attachments: GORA-189.patch
>
>
> It would be much useful if gora compiler generates methods taking Strings as parameters (and creating Utf8 inside automatically). Code would be much more clear and simple when populating that classes.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)