ItEr32S12CUAsignacionGrupoRecursosAPlanificacionItEr31S15: Adding method to retrieve specific and generic allocations
This commit is contained in:
parent
ad09773692
commit
04abf12b2d
1 changed files with 10 additions and 0 deletions
|
|
@ -109,4 +109,14 @@ public class AggregateOfResourceAllocations {
|
|||
return one.compareTo(other) > 0 ? one : other;
|
||||
}
|
||||
|
||||
public List<SpecificResourceAllocation> getSpecificAllocations() {
|
||||
return ResourceAllocation.getOfType(SpecificResourceAllocation.class,
|
||||
resourceAllocations);
|
||||
}
|
||||
|
||||
public List<GenericResourceAllocation> getGenericAllocations() {
|
||||
return ResourceAllocation.getOfType(GenericResourceAllocation.class,
|
||||
resourceAllocations);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue