BrightSide Workbench Full Report + Source Code
org.turro.erp.clone.PredecessorClone Class Reference
Inheritance diagram for org.turro.erp.clone.PredecessorClone:
Collaboration diagram for org.turro.erp.clone.PredecessorClone:

Public Member Functions

 PredecessorClone (Predecessor predecessor, ClonedEntitySet entities)
 
void setTask (TaskClone task)
 
Collection children ()
 
Object parent ()
 

Protected Member Functions

Predecessor createClone ()
 
void applyData (Predecessor entity)
 
void applyChildren (Predecessor entity)
 
void assignEntities ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file PredecessorClone.java.

Constructor & Destructor Documentation

◆ PredecessorClone()

org.turro.erp.clone.PredecessorClone.PredecessorClone ( Predecessor  predecessor,
ClonedEntitySet  entities 
)

Definition at line 39 of file PredecessorClone.java.

39  {
40  super(predecessor.getId(), predecessor, entities);
41  type = predecessor.getType();
42  lag = predecessor.getLag();
43  }
Here is the call graph for this function:

Member Function Documentation

◆ applyChildren()

void org.turro.erp.clone.PredecessorClone.applyChildren ( Predecessor  entity)
protected

Definition at line 63 of file PredecessorClone.java.

63  {
64  }

◆ applyData()

void org.turro.erp.clone.PredecessorClone.applyData ( Predecessor  entity)
protected

Definition at line 57 of file PredecessorClone.java.

57  {
58  entity.setType(type);
59  entity.setLag(lag);
60  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ assignEntities()

void org.turro.erp.clone.PredecessorClone.assignEntities ( )
protected

Definition at line 67 of file PredecessorClone.java.

67  {
68  if(predecessor == null) {
69  predecessor = new TaskClone(entity.getPredecessor(), entities);
70  } else if(getClone() != null) {
71  getClone().setPredecessor(predecessor.getClone());
72  }
73  }

◆ children()

Collection org.turro.erp.clone.PredecessorClone.children ( )

Implements org.turro.hierarchy.Hierarchical.

Definition at line 78 of file PredecessorClone.java.

78  {
79  return null;
80  }

◆ createClone()

Predecessor org.turro.erp.clone.PredecessorClone.createClone ( )
protected

Definition at line 50 of file PredecessorClone.java.

50  {
51  Predecessor pred = new Predecessor();
52  applyData(pred);
53  return pred;
54  }
Here is the call graph for this function:

◆ parent()

Object org.turro.erp.clone.PredecessorClone.parent ( )

Implements org.turro.hierarchy.Hierarchical.

Definition at line 83 of file PredecessorClone.java.

83  {
84  return task;
85  }

◆ setTask()

void org.turro.erp.clone.PredecessorClone.setTask ( TaskClone  task)

Definition at line 45 of file PredecessorClone.java.

45  {
46  this.task = task;
47  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: