|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.elements.TimelineIndex
public class TimelineIndex
TimelineIndex allows storage and random access of Timeline objects.
(Note the distinction to TimelineRepository, which stores
underlying db-core Timeline nodes by implementing db-core's
Repository interface.)
Essentially a wrapper for a hashtable keying Timeline objects to
TimelineIDs.
This class is only meant to be instantiated and handled by a Document.
Constructor Summary | |
---|---|
TimelineIndex()
|
Method Summary | |
---|---|
void |
addTimeline(TimelineID ID,
Timeline timeline)
Add a Timeline to the index. |
boolean |
containsTimeline(TimelineID ID)
Does this index contain a paritcular Timeline? |
java.util.Enumeration |
getAllTimelines()
Return an Enumeration of all Timelines in the index. |
Timeline |
getTimeline(TimelineID ID)
Get a Timeline from the index. |
TimelineIndex |
makeCopy()
Make a copy of the index. |
int |
numberOfTimelines()
Retrieve the number of Timelines in the index |
void |
removeTimeline(TimelineID ID)
Remove a Timeline from the index. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimelineIndex()
Method Detail |
---|
public void addTimeline(TimelineID ID, Timeline timeline) throws Scheherexception
Scheherexception
public Timeline getTimeline(TimelineID ID) throws Scheherexception
Scheherexception
public void removeTimeline(TimelineID ID) throws Scheherexception
Scheherexception
public int numberOfTimelines()
public java.util.Enumeration getAllTimelines()
public boolean containsTimeline(TimelineID ID)
public TimelineIndex makeCopy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |