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

Public Member Functions

 WorkloadSet (HumanResource humanResource, boolean assigned)
 
 WorkloadSet (Resource resource, boolean assigned)
 
HumanResource getHumanResource ()
 
void setHumanResource (HumanResource humanResource)
 
Resource getResource ()
 
void setResource (Resource resource)
 
Collection< RequiredUsagegetRequiredUsages ()
 
Collection< OrderItemgetOrderItems ()
 

Detailed Description

Constructor & Destructor Documentation

◆ WorkloadSet() [1/2]

org.turro.erp.task.WorkloadSet.WorkloadSet ( HumanResource  humanResource,
boolean  assigned 
)

Definition at line 46 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

46  {
47  this.assigned = assigned;
48  setHumanResource(humanResource);
49  }
Here is the call graph for this function:

◆ WorkloadSet() [2/2]

org.turro.erp.task.WorkloadSet.WorkloadSet ( Resource  resource,
boolean  assigned 
)

Definition at line 51 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

51  {
52  this.assigned = assigned;
53  setResource(resource);
54  }
Here is the call graph for this function:

Member Function Documentation

◆ getHumanResource()

HumanResource org.turro.erp.task.WorkloadSet.getHumanResource ( )

Definition at line 56 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

56  {
57  return humanResource;
58  }

◆ getOrderItems()

Collection<OrderItem> org.turro.erp.task.WorkloadSet.getOrderItems ( )

Definition at line 84 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

84  {
85  ArrayList<OrderItem> list = new ArrayList<OrderItem>();
86  for(Workload wl : this) {
87  list.add(wl.getOrderItem());
88  }
89  return list;
90  }
Here is the call graph for this function:

◆ getRequiredUsages()

Collection<RequiredUsage> org.turro.erp.task.WorkloadSet.getRequiredUsages ( )

Definition at line 76 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

76  {
77  ArrayList<RequiredUsage> list = new ArrayList<RequiredUsage>();
78  for(Workload wl : this) {
79  list.add(wl.getRequiredUsage());
80  }
81  return list;
82  }
Here is the call graph for this function:

◆ getResource()

Resource org.turro.erp.task.WorkloadSet.getResource ( )

Definition at line 66 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

66  {
67  return resource;
68  }

◆ setHumanResource()

void org.turro.erp.task.WorkloadSet.setHumanResource ( HumanResource  humanResource)

Definition at line 60 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

60  {
61  this.humanResource = humanResource;
62  this.resource = null;
63  generateList();
64  }
Here is the caller graph for this function:

◆ setResource()

void org.turro.erp.task.WorkloadSet.setResource ( Resource  resource)

Definition at line 70 of file bserp-core/src/main/java/org/turro/erp/task/WorkloadSet.java.

70  {
71  this.resource = resource;
72  this.humanResource = null;
73  generateList();
74  }
Here is the caller graph for this function:

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