Support for Associations
------------------------

                 Key: QI-46
                 URL: http://issues.ops4j.org/jira/browse/QI-46
             Project: Qi4j
          Issue Type: New Feature
          Components: ReST
            Reporter: Niclas Hedhman
            Assignee: Rickard Öberg


There is no support for Associations in the current ReST interface.

I suggest that the following format is to be used;

<associations>
  <{assocName}>{entityPath}"</{assocName}>
</associations>

Where {entityPath} is the path part of the URL, relative to current resource 
for simplicity;

Example
<associations>
  <spouse>../org.qi4j.rest.domain.Person/1245</spouse>
</associations>

If relative URL are not used, we need either need to enforce in the semantic 
contract that the ReST Entity API always is mounted on /entity, or figure out 
how to get hold of any prefix.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to