Пример #1
0
 /** Copies the contents of the specified bean into this bean. */
 public void copy(Client that) {
   setClientId(that.getClientId());
   setClientType(that.getClientType());
   setClientName(that.getClientName());
   setClientPhoneNum(that.getClientPhoneNum());
   setClientExt(that.getClientExt());
   setClientEmail(that.getClientEmail());
   setClientAddress(that.getClientAddress());
   setClientCity(that.getClientCity());
   setPostalCode(that.getPostalCode());
   setClientComment(that.getClientComment());
   setWorkOrders(new java.util.LinkedHashSet<axi.source.domain.WorkOrder>(that.getWorkOrders()));
   setInventories(new java.util.LinkedHashSet<axi.source.domain.Inventory>(that.getInventories()));
   setPurchaseOrders(
       new java.util.LinkedHashSet<axi.source.domain.PurchaseOrder>(that.getPurchaseOrders()));
   setQuotes(new java.util.LinkedHashSet<axi.source.domain.Quote>(that.getQuotes()));
 }