Hi Reto,
2010/5/10 Reto Bachmann-Gmuer <[email protected]> > > > 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
