Retrieve associated object in java

I have a java action that takes a list of Objects as a parameter. I simply need to retrieve the associated objects for each object in this list parameter within the java action. It looks like I should be able to use the Core.retrieveByPath method, but I wasn't able to find any documentation describing how to format the path parameter for this method. For instance, if I have Customer and Order entities (1-*) then I would want to pass in a list of Customer objects and be able to retrieve the associated Orders for each Customer.
1 answers

Looks like you need to pass the fully qualified name to the path variable as a string. So for the customer to orders association, if passing the List<Order> object (Order entity is the owner of the Customer_Order association) into the java action, you could use  Order.MemberNames.Order_Customer.toString().