gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-189) String parameters in generated Persistent subclasses by Compiler -not only Utf8-
Date Tue, 07 Jan 2014 16:35:55 GMT

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

Mime
View raw message