public void removeObjectB(ObjectB ob) { // code to remove ob from DB }
public void addObjectB(ObjectB ob) { // code to add ob to DB }