edu.cmu.emulator.creator.config
Class EventGroup

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.EventGroup

public class EventGroup
extends ConfigNode


Field Summary
private  boolean concurrent
           
private  List<Event> events
           
private  long time
           
 
Constructor Summary
EventGroup(EventGroup other)
           
EventGroup(long time, boolean concurrent, List<Event> events)
           
 
Method Summary
static EventGroup fromXML(Element el)
           
 boolean getConcurrent()
           
 List<Event> getEvents()
           
 long getTime()
           
 void setConcurrent(boolean concurrent)
           
 void setTime(long time)
           
 String toString()
           
protected  Element toXML(Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

time

private long time

concurrent

private boolean concurrent

events

private List<Event> events
Constructor Detail

EventGroup

public EventGroup(long time,
                  boolean concurrent,
                  List<Event> events)

EventGroup

public EventGroup(EventGroup other)
Method Detail

getTime

public long getTime()

getConcurrent

public boolean getConcurrent()

getEvents

public List<Event> getEvents()

setTime

public void setTime(long time)

setConcurrent

public void setConcurrent(boolean concurrent)

toString

public String toString()
Overrides:
toString in class Object

fromXML

public static EventGroup fromXML(Element el)
                          throws ConfigException
Throws:
ConfigException

toXML

protected Element toXML(Document doc)


Copyright © 2013. All Rights Reserved.