[dna-issues] [JBoss JIRA] Resolved: (DNA-266) Improve usability of graph API with additional methods

Randall Hauch (JIRA) jira-events at lists.jboss.org
Fri Dec 19 14:51:04 EST 2008


     [ https://jira.jboss.org/jira/browse/DNA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Hauch resolved DNA-266.
-------------------------------

    Resolution: Done


Marking as resolved.  This can be reopened if there are any additions.

> 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