CatchSandeepVaid (23) [Avatar] Offline
#1
In case of Item-Bid Bidirectional Association, we have a addBid(Bid bid) convenience method in Item class (using which we can add a bid to item).

Why we don't have a convenience method addItem(Item item) in the Bid class as :

//Convenient Method
private void addItem(Item item)
{
this.item = item;
item.getBids().add(this);
}
?