19 package org.turro.erp.clone;
21 import java.util.Collection;
22 import org.turro.clone.ClonedEntity;
23 import org.turro.clone.ClonedEntitySet;
24 import org.turro.erp.entity.Predecessor;
25 import org.turro.erp.entity.PredecessorType;
26 import org.turro.hierarchy.Hierarchical;
40 super(predecessor.
getId(), predecessor, entities);
42 lag = predecessor.
getLag();
68 if(predecessor ==
null) {
69 predecessor =
new TaskClone(entity.getPredecessor(), entities);
70 }
else if(getClone() !=
null) {
71 getClone().setPredecessor(predecessor.getClone());
PredecessorClone(Predecessor predecessor, ClonedEntitySet entities)
Predecessor createClone()
void setTask(TaskClone task)
void applyData(Predecessor entity)
void applyChildren(Predecessor entity)
PredecessorType getType()
void setType(PredecessorType type)