Support for ManyAssociations
----------------------------

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


The ReST Entity API should support ManyAssociations. I suggest the following 
format;

<list-associations>
  <{associationName}>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
  </{associationName}>
  <{associationName}>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
  </{associationName}>
</list-associations>

<set-associations>
  <{associationName}>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
  </{associationName}>
  <{associationName}>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
    <item>{entityRef}</item>
  </{associationName}>
</set-associations>



-- 
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