| java.lang.Object org.cougaar.planning.ldm.plan.ScheduleElementImpl
All known Subclasses: org.cougaar.servicediscovery.description.LineageScheduleElementImpl, org.cougaar.glm.ldm.plan.QuantityScheduleElementImpl, org.cougaar.glm.ldm.plan.QuantityRangeScheduleElementImpl, org.cougaar.planning.ldm.plan.AssignedAvailabilityElementImpl, org.cougaar.planning.ldm.plan.LocationRangeScheduleElementImpl, org.cougaar.glm.ldm.plan.RateScheduleElementImpl, org.cougaar.glm.ldm.plan.CapacityScheduleElementImpl, org.cougaar.planning.ldm.plan.AssignedRelationshipElementImpl, org.cougaar.logistics.plugin.trans.base.SequentialScheduleElement, org.cougaar.planning.ldm.plan.RelationshipImpl, org.cougaar.planning.ldm.plan.LocationScheduleElementImpl, org.cougaar.glm.ldm.plan.ObjectScheduleElement,
Field Summary | |
protected long | etime | protected long | stime |
etime | protected long etime(Code) | | |
stime | protected long stime(Code) | | |
ScheduleElementImpl | public ScheduleElementImpl()(Code) | | no-arg constructor
|
ScheduleElementImpl | public ScheduleElementImpl(Date start, Date end)(Code) | | constructor for factory use that takes the start and end dates
|
ScheduleElementImpl | public ScheduleElementImpl(long start, long end)(Code) | | constructor for factory use that takes the start and end dates
|
getEndTime | public long getEndTime()(Code) | | |
getStartTime | public long getStartTime()(Code) | | |
included | public boolean included(Date date)(Code) | | boolean whether the date is included in this schedule |
included | public boolean included(long time)(Code) | | |
overlapSchedule | public boolean overlapSchedule(ScheduleElement se)(Code) | | boolean whether schedules overlap |
setEndDate | public void setEndDate(Date enddate)(Code) | | Parameters: enddate - Set End time for the task |
setEndTime | public void setEndTime(long t)(Code) | | |
setStartDate | public void setStartDate(Date startdate)(Code) | | Parameters: startdate - Set Start time for the task |
setStartEndTimes | public void setStartEndTimes(long starttime, long endtime)(Code) | | |
setStartTime | public void setStartTime(long t)(Code) | | |
|
|