public void addToPersonsRelationship(er.example.erxpartials.model.Person object) { if (_GenderType.LOG.isDebugEnabled()) { _GenderType.LOG.debug("adding " + object + " to persons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { addToPersons(object); } else { addObjectToBothSidesOfRelationshipWithKey(object, _GenderType.PERSONS_KEY); } }
public void setEmployeeTypeRelationship(er.example.erxpartials.model.EmployeeType value) { if (_Partial_EmployeePerson.LOG.isDebugEnabled()) { _Partial_EmployeePerson.LOG.debug("updating employeeType from " + employeeType() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { setEmployeeType(value); } else if (value == null) { er.example.erxpartials.model.EmployeeType oldValue = employeeType(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "employeeType"); } } else { addObjectToBothSidesOfRelationshipWithKey(value, "employeeType"); } }
public void setCompanyRelationship(er.example.erxpartials.model.Company value) { if (_Department.LOG.isDebugEnabled()) { _Department.LOG.debug("updating company from " + company() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { setCompany(value); } else if (value == null) { er.example.erxpartials.model.Company oldValue = company(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "company"); } } else { addObjectToBothSidesOfRelationshipWithKey(value, "company"); } }
public void setGenderTypeRelationship(er.example.erxpartials.model.GenderType value) { if (_Person.LOG.isDebugEnabled()) { _Person.LOG.debug("updating genderType from " + genderType() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { setGenderType(value); } else if (value == null) { er.example.erxpartials.model.GenderType oldValue = genderType(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, _Person.GENDER_TYPE_KEY); } } else { addObjectToBothSidesOfRelationshipWithKey(value, _Person.GENDER_TYPE_KEY); } }
public void setDepartmentRelationship(er.example.erxpartials.model.Department value) { if (_Partial_EmployeePerson.LOG.isDebugEnabled()) { _Partial_EmployeePerson.LOG.debug("updating department from " + department() + " to " + value); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { setDepartment(value); } else if (value == null) { er.example.erxpartials.model.Department oldValue = department(); if (oldValue != null) { removeObjectFromBothSidesOfRelationshipWithKey(oldValue, "department"); } } else { addObjectToBothSidesOfRelationshipWithKey(value, "department"); } }
public void removeFromPartial_EmployeePersonsRelationship(er.example.erxpartials.model.Person object) { if (_Department.LOG.isDebugEnabled()) { _Department.LOG.debug("removing " + object + " from partial_EmployeePersons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { removeFromPartial_EmployeePersons(object); } else { removeObjectFromBothSidesOfRelationshipWithKey(object, "partial_EmployeePersons"); } }
public void removeFromDepartmentsRelationship(er.example.erxpartials.model.Department object) { if (_Company.LOG.isDebugEnabled()) { _Company.LOG.debug("removing " + object + " from departments relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { removeFromDepartments(object); } else { removeObjectFromBothSidesOfRelationshipWithKey(object, "departments"); } }
public void addToPartial_EmployeePersonsRelationship(er.example.erxpartials.model.Person object) { if (_Department.LOG.isDebugEnabled()) { _Department.LOG.debug("adding " + object + " to partial_EmployeePersons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { addToPartial_EmployeePersons(object); } else { addObjectToBothSidesOfRelationshipWithKey(object, "partial_EmployeePersons"); } }
public void removeFromPersonsRelationship(er.example.erxpartials.model.Person object) { if (_GenderType.LOG.isDebugEnabled()) { _GenderType.LOG.debug("removing " + object + " from persons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { removeFromPersons(object); } else { removeObjectFromBothSidesOfRelationshipWithKey(object, _GenderType.PERSONS_KEY); } }
public void removeFromPartial_EmployeePersonsRelationship(er.example.erxpartials.model.Person object) { if (_EmployeeType.LOG.isDebugEnabled()) { _EmployeeType.LOG.debug("removing " + object + " from partial_EmployeePersons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { removeFromPartial_EmployeePersons(object); } else { removeObjectFromBothSidesOfRelationshipWithKey(object, "partial_EmployeePersons"); } }
public void addToPartial_EmployeePersonsRelationship(er.example.erxpartials.model.Person object) { if (_EmployeeType.LOG.isDebugEnabled()) { _EmployeeType.LOG.debug("adding " + object + " to partial_EmployeePersons relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { addToPartial_EmployeePersons(object); } else { addObjectToBothSidesOfRelationshipWithKey(object, "partial_EmployeePersons"); } }
public void addToDepartmentsRelationship(er.example.erxpartials.model.Department object) { if (_Company.LOG.isDebugEnabled()) { _Company.LOG.debug("adding " + object + " to departments relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater.updateInverseRelationships()) { addToDepartments(object); } else { addObjectToBothSidesOfRelationshipWithKey(object, "departments"); } }