| org.cougaar.planning.ldm.plan.Schedule
All known Subclasses: org.cougaar.planning.ldm.plan.ScheduleImpl,
Schedule | public interface Schedule extends List,TimeSpan(Code) | | A Schedule is an encapsulation of spatio-temporal relationships.
Current thought is to bind up both time and space into a single
object which may then be queried in various ways to test for
overlaps, inclusion, exclusion, etc with other schedules.
Extends Collection to provide direct access to the collection api
accessors, and TimeSpan to allow comparison of whole schedules to
each other.
|
applyThunkToScheduleElements | void applyThunkToScheduleElements(Thunk t)(Code) | | Apply a Thunk to each ScheduleElement in the Schedule *
|
getAllScheduleElements | Enumeration getAllScheduleElements()(Code) | | get an enumeration of all of the schedule elements of this schedule.
Enumeration backed by a copy of the Schedule.
Enumeration{ScheduleElement} |
getEncapsulatedScheduleElements | Collection getEncapsulatedScheduleElements(long startTime, long endTime)(Code) | | a sorted collection of schedule elements that are fully boundor encapsulated by a date range.Note that enddates are not included in time spans. |
getOverlappingScheduleElements | Collection getOverlappingScheduleElements(long startTime, long endTime)(Code) | | a sorted Collection of schedule elements that have dates in thegiven range of dates. Note that these schedule elements mayor may not be fully bound by the date range - they may overlap.Note that enddates are not included in time spans. |
getScheduleElementsWithTime | Collection getScheduleElementsWithTime(long aTime)(Code) | | a sorted Collection of schedule elements that include this date.Note that each schedule element will have a start date less than or equal to the specified date and an end date after the specified date. |
|
|