I guess the simple answer is: nope, but I guess something like that could be created.
-David On Mar 13, 2007, at 2:52 AM, Christopher Snow wrote:
When setting up related entities using the java services, is it thedevelopers responsibility to creating the relationships by using the idfield 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
smime.p7s
Description: S/MIME cryptographic signature