When setting up related entities using the java services, is it the
developers responsibility to creating the relationships by using the id
field values, e.g.
delegator.create("EntityOne", UtilMisc.toMap("entityOneId", "1"));
delegator.create("EntityTwo", UtilMisc.toMap("entityTwoId", "2",
"entityOneId", "1"));
Is there a setRelated() way of doing things equivalent to getRelated()?,
e.g.
entity1 = delegator.create("EntityOne", ...);
entity2 = delegator.create("EntityTwo", ...);
entity2.setRelated(entity1);
Many thanks,
Chris