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
 voidaddEvent(Event event)
          Adds a event to the TimeLine.
 IteratoreventsIterator()
          Returns the collection of Events, in their chronological order.
 intsize()
           

Methods inherited from interface org.rr0.im.business.event.Event
getTitle

Methods inherited from interface org.rr0.im.service.function.classification.Classifiable
getForcedCategory

Methods inherited from interface java.lang.Comparable
compareTo

Methods inherited from interface org.rr0.im.business.event.Endable
getEnd

Methods inherited from interface org.rr0.im.business.event.Timeable
getBegining, getHistory

Methods inherited from interface org.rr0.im.business.event.Durable
getDuration

Method Detail

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

Association Links

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