public class IlvReservationLoadData extends Object implements IlvReservationDataPolicy
IlvReservationLoadData
computes the number of
activities assigned to a
resource versus the time for a
single reservation. Because a reservation
represents the assignment of a single activity,
IlvReservationLoadData
computes a list of two
data values
. The first is a value of 1
at
the start time of the activity, and the second is a value of
0
at the end time of the activity. If you set an instance of
IlvReservationLoadData
as the
data policy of an
IlvResourceDataSet
, the data set represents the loading of its
resource.Constructor and Description |
---|
IlvReservationLoadData()
Creates an
IlvReservationLoadData policy. |
Modifier and Type | Method and Description |
---|---|
List<IlvDataValue> |
computeValues(IlvGanttModel ganttModel,
IlvReservation reservation)
Computes the list of IlvDataValues for the specified
reservation.
|
public IlvReservationLoadData()
IlvReservationLoadData
policy.public List<IlvDataValue> computeValues(IlvGanttModel ganttModel, IlvReservation reservation)
1
at the activity's
start time, and the second is a value of 0
at the
activity's end time.computeValues
in interface IlvReservationDataPolicy
ganttModel
- The Gantt data model to which the reservation belongsreservation
- The reservation.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.