@Override public ResourcesPerDayModification toResourcesPerDayModification(Task task) { GenericResourceAllocation newGeneric = createGenericAllocation(task); return ResourcesPerDayModification .create(newGeneric, getResourcesPerDayEditedValue(), this.resources); }
@Override public ResourcesPerDayModification withDesiredResourcesPerDay(ResourcesPerDay resourcesPerDay) { return ResourcesPerDayModification.create(this, resourcesPerDay, getAssociatedResources()); }