public class AvailabilityActivity<T>
extends ilog.views.gantt.model.IlvSimpleActivity
IlvActivity
for each time range in the modelModifier and Type | Class and Description |
---|---|
static class |
AvailabilityActivity.ActivityType
Enum to define the 5 types of availability
|
Constructor and Description |
---|
AvailabilityActivity(java.lang.String id,
AvailabilityActivity.ActivityType type,
java.util.Date start,
java.util.Date end) |
AvailabilityActivity(java.lang.String id,
AvailabilityActivity.ActivityType type,
java.util.Date start,
java.util.Date end,
int itemStatus) |
Modifier and Type | Method and Description |
---|---|
T |
getAvailability() |
int |
getItemStatus()
Return the item or tool status for this activity
|
AvailabilityActivity.ActivityType |
getType()
return the type of this activity
|
void |
setAvailability(T availability) |
void |
setItemStatus(int itemStatus)
Sets the item or tool status for this activity
|
getAutoCalcTimeIntervalFromChildren, getChildEventFilter, getID, getName, getTimeInterval, processChildEvent, setAutoCalcTimeIntervalFromChildren, setGanttModelImpl, setID, setName, setTimeInterval
public AvailabilityActivity(java.lang.String id, AvailabilityActivity.ActivityType type, java.util.Date start, java.util.Date end)
public AvailabilityActivity(java.lang.String id, AvailabilityActivity.ActivityType type, java.util.Date start, java.util.Date end, int itemStatus)
public AvailabilityActivity.ActivityType getType()
public int getItemStatus()
public void setItemStatus(int itemStatus)
itemStatus
- public T getAvailability()
public void setAvailability(T availability)