this.item = item; this.name = name; this.stockNumber = stockNumber; this.unitPrice = unitPrice; this.item.getParts().add( this );
return id;
return item;
return name;
return stockNumber;
return unitPrice;
this.id = id;
this.item = item;
this.name = name;
this.stockNumber = stockNumber;
this.unitPrice = unitPrice;