Re: Java Packages for Dummies
Re: Java Packages for Dummies
- Subject: Re: Java Packages for Dummies
- From: Art Isbell <email@hidden>
- Date: Tue, 4 Dec 2007 13:29:14 -1000
On Dec 4, 2007, at 3:09 PM, Owen McKerrow wrote:
public void setPerson(edu.uow.ris.framework.eo.Person aValue) {
if( aValue == null ) {
edu.uow.ris.framework.eo.Person object = person();
if( object != null )
removeObjectFromBothSidesOfRelationshipWithKey( object, "person" );
} else
addObjectToBothSidesOfRelationshipWithKey( aValue,
"person" );
}
Some [Java]EOGenerator templates define the above method but rename
it setPersonRelationship() to avoid infinite recursion. This is a
handy method to have.
Aloha,
Art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden