19 package org.turro.erp.clone;
21 import java.util.Collection;
22 import java.util.HashSet;
24 import org.turro.clone.ClonedEntity;
25 import org.turro.clone.ClonedEntitySet;
26 import org.turro.erp.entity.OrderReference;
27 import org.turro.erp.entity.OwnedAptitude;
28 import org.turro.erp.entity.WorkOrder;
29 import org.turro.hierarchy.Hierarchical;
37 private String description;
39 private Set<OrderReferenceClone> orderReferences =
new HashSet<OrderReferenceClone>();
42 super(workOrder.
getId(), workOrder, entities);
46 if(orderReference.getId() > 0) {
59 orderReferenceClone.generateClone();
76 orderReferenceClone.applyChanges();
83 orderReferenceClone.assignEntities();
91 return orderReferences;
void setWorkOrder(WorkOrderClone workOrder)
WorkOrderClone(WorkOrder workOrder, ClonedEntitySet entities)
void applyChildren(WorkOrder entity)
void applyData(WorkOrder entity)
void setWorkOrder(WorkOrder workOrder)
void setSupervised(OwnedAptitude supervised)
void setDescription(String description)
OwnedAptitude getSupervised()
Set< OrderReference > getOrderReferences()