My Eclipse is telling me this is bad without any explanation.
er.extensions.ERXGenericRecord.InverseRelationshipUpdater
It was created via the velogenerator.
as in this generated method(it is in all my base classes which have
relationships):
public void setUserRelationship(com.aweli.cpn.eo.User value) {
if (_Client.LOG.isDebugEnabled()) {
_Client.LOG.debug("updating user from " + user() + " to " +
value);
}
if
(er
.extensions
.ERXGenericRecord
.InverseRelationshipUpdater.updateInverseRelationships()) {
setUser(value);
}
else if (value == null) {
com.aweli.cpn.eo.User oldValue = user();
if (oldValue != null) {
removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "user");
}
} else {
addObjectToBothSidesOfRelationshipWithKey(value, "user");
}
}
Am I missing something? Or a switch, or ?
Thanks
James Cicenia
This archive was generated by hypermail 2.0.0 : Sat Mar 15 2008 - 19:48:49 EDT