org.rr0.im.business.event
Interface TimeLine
- All Known Implementing Classes:
- TimeLineImpl
- public interface TimeLine
- extends Event
A chronologicaly ordered collection of events,
with an acceptable interval of time between events.
A TimeLine can be viewed as a coarse-grained event.
- Author:
- Jérôme Beau
- Version: 14 juil. 2003 17:35:36
| Method Summary |
void | addEvent(Event event) Adds a event to the TimeLine. |
Iterator | eventsIterator() Returns the collection of Events, in their chronological order. |
int | size() |
| Methods inherited from interface org.rr0.im.business.event.Event |
getTitle |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface org.rr0.im.business.event.Endable |
getEnd |
addEvent
public void addEvent(Event event)
- Adds a event to the TimeLine.
- Parameters:
- event The event to add.
eventsIterator
public Iterator eventsIterator()
- Returns the collection of Events, in their chronological order.
- Returns:
- associates <{org.rr0.im.business.event.Event}>
- supplierRole timeline events
- supplierCardinality 0..*
size
public int size()
- Returns: The events' count in this timeline
to Class org.rr0.im.business.event.Event- Returns the collection of Events, in their chronological order.
- Supplier Role timeline events
- Supplier Cardinality 0..*
- associates <{org.rr0.im.business.event.Event}>
- return