Re: [Neo4j] API change proposal on Node

2014-03-06 Thread AL Wad
Thank you Michael, I shall refrain myself on "instinct programming" and read the docs. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.c

Re: [Neo4j] API change proposal on Node

2014-03-04 Thread AL Wad
> > Thank you Chris, > So every set should be like if (node.hasProperty("propLabel") && node.getProperty("propLabel").equals("propValueToCheck") ) node.setProperty("propLabel", "whatever"); Verbous but no try/catch. I'll take that although checking for null is more java Thank you

[Neo4j] API change proposal on Node

2014-03-04 Thread AL Wad
Hello, I'm new to Neo && presume the post fits better here than on SO && feeling courageous. I wrote an app to update my graph via the REST API (using org.neo4j.rest.graphdb.RestGraphDatabase). My use case is getting nodes I previously created to set a property which is absent (or not). 1/