Document class so it's easier to understand purpose

FEA: ItEr60S19TimeUnitDataType
This commit is contained in:
Óscar González Fernández 2010-09-16 12:24:45 +02:00
parent 9fe1a8d943
commit 7e317b6dff

View file

@ -145,6 +145,21 @@ public abstract class ResourceAllocation<T extends DayAssignment> extends
return new AllocationsCurried(resourceAllocations);
}
/**
* Needed for doing fluent interface calls:
* <ul>
* <li>
* {@link ResourceAllocation#allocating(List)}.
* {@link AllocationsCurried#untilAllocating(int) untiAllocating(int)}</li>
* <li> {@link ResourceAllocation#allocating(List)}.
* {@link AllocationsCurried#allocateOnTaskLength() allocateOnTaskLength}</li>
* <li>
* {@link ResourceAllocation#allocating(List)}.
* {@link AllocationsCurried#allocateUntil(LocalDate)
* allocateUntil(LocalDate)}</li>
* </ul>
*
*/
public static class AllocationsCurried {
private final List<ResourcesPerDayModification> allocations;