title: How do I use OData4J with an unknown number of child objects?
body: <p>I am trying to build a <code>createEntity</code> OEntity for an object that has multiple child collections within it.</p>
  
  <p>I have looked over many of the example projects, but they all seem to assume that you have a known number of child objects in a collection so that you can use .<code>inLine(“ObjectName”,  ObjectOEntity1, ObjecteOEntity2…)</code></p>
  
  <p>I have tried looking at the documentation and have not identified anything that leads me to think I can create a collection of OEntity objects that can then be added to my parent object with the inline.</p>
  
  <p>The closest I found was the example listed on:</p>
  
  <p><a href="http://code.google.com/p/odata4j/source/browse/odata4j-fit/src/test/java/org/odata4j/producer/jpa/northwind/test/CreateTest.java?name=0.6" rel="nofollow">http://code.google.com/p/odata4j/source/browse/odata4j-fit/src/test/java/org/odata4j/producer/jpa/northwind/test/CreateTest.java?name=0.6</a></p>
  
  <p>Has anyone else run into this problem?<br>
  If so how did you get around it?</p>