incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: addPropertyValue-method in GraphNode
Date Tue, 11 May 2010 08:13:09 GMT
Thanks Reto :)

2010/5/11 Reto Bachmann-Gmuer <reto.bachmann@trialox.org>

> ok, created and closed CLEREZZA-212
>
> On Tue, May 11, 2010 at 8:29 AM, Hasan <hasan@apache.org> wrote:
> > +1
> >
> > cheers
> > hasan
> >
> > On 05/11/2010 07:43 AM, Tommaso Teofili wrote:
> >>
> >> Hi Reto,
> >>
> >> 2010/5/10 Reto Bachmann-Gmuer<reto@apache.org>
> >>
> >>>
> >>> seeing the following utility method:
> >>>
> >>>   private void addStringLiteral(String value, GraphNode node, UriRef
> >>> uriRef) {
> >>>       node.addProperty(uriRef,
> >>> LiteralFactory.getInstance().createTypedLiteral(value));
> >>>    }
> >>>
> >>> I'm wondering if we couldn't add something to GraphNode, maybe:
> >>>
> >>> public void addPropertyValue(UriRef property, Object value) {
> >>> addProperty(property,
> >>> LiteralFactory.getInstance().createTypedLiteral(value));
> >>> }
> >>>
> >>>
> >>>
> >>
> >> I like this option so I am +1 for adding such a method to GraphNode.
> >> What do others think?
> >> Cheers,
> >> Tommaso
> >>
> >>
> >
>

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