[dna-issues] [JBoss JIRA] Created: (DNA-266) Improve usability of graph API with additional methods
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Thu Dec 18 17:39:54 EST 2008
Improve usability of graph API with additional methods
------------------------------------------------------
Key: DNA-266
URL: https://jira.jboss.org/jira/browse/DNA-266
Project: DNA
Issue Type: Feature Request
Components: API, Graph
Affects Versions: 0.3
Reporter: Randall Hauch
Assignee: Randall Hauch
Priority: Minor
Fix For: 0.4
Provide an easy way to set references to nodes as property values. Currently, one has to get the node, obtain a reference value factory, create the reference, then set the property using that value. It's pretty impossible to make a single chained call that does all this.
Also, provide additional flexibility when setting properties. Currently, the only way to set a property is to do the following:
graph.set("propName").to("value").on("/node1");
but it would also be nice to reverse the "on" and "to" methods, such as:
graph.set("propName").on("/node1").to("value");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list