|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jdom.Content
org.jdom.Element
verinec.netsim.loggers.events.Events
public class Events
Events is the Element that is used as a wrapper around all the Event Elements.
| Nested Class Summary | |
|---|---|
private class |
Events.EventTimeComparator
|
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
| Fields inherited from class org.jdom.Element |
|---|
additionalNamespaces, name, namespace |
| Fields inherited from class org.jdom.Content |
|---|
parent |
| Constructor Summary | |
|---|---|
Events()
Creates an empty Events Element |
|
Events(String repository,
String stoptime)
Creates a new Events Element with the header children. |
|
| Method Summary | |
|---|---|
void |
addEvent(Event event)
adds an Event Element to the Events |
List |
getEventList()
gets the List of Event Elements in this Element |
IVerinecRepository |
getRepository()
gets the repository containig the network configuration |
String |
getRepositoryName()
gets the name of the repository containig the network configuration |
double |
getStopTime()
gets the stop time for this simulation |
void |
setRepositoryName(String name)
sets the name of the repository containig the network configuration |
void |
setStopTime(double stopTime)
sets the stop time for this simulation |
| Methods inherited from class org.jdom.Content |
|---|
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jdom.Parent |
|---|
getDocument, getParent |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
public Events()
public Events(String repository,
String stoptime)
repository - the repository which belongs to these eventsstoptime - the stoptime of the simulation belonging to these events| Method Detail |
|---|
public void addEvent(Event event)
event - an Eventpublic List getEventList()
public String getRepositoryName()
public void setRepositoryName(String name)
name - name of the repositorypublic double getStopTime()
public void setStopTime(double stopTime)
stopTime - the stop time for this simulation
public IVerinecRepository getRepository()
throws VerinecException
VerinecException - if the Repository can't be opened
|
Copyright © 2005 Verinec, DIUF | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||