edu.cmu.emulator.creator.config.event
Class SetDestAndArrivalTime
java.lang.Object
edu.cmu.emulator.creator.config.ConfigNode
edu.cmu.emulator.creator.config.Event
edu.cmu.emulator.creator.config.event.SetDestAndArrivalTime
public class SetDestAndArrivalTime
- extends Event
node
private String node
pos
private Coord pos
arrivalTime
private long arrivalTime
SetDestAndArrivalTime
public SetDestAndArrivalTime(String node,
Coord pos,
long arrvalTime)
getType
public String getType()
- Specified by:
getType
in class Event
fromXML
public static SetDestAndArrivalTime fromXML(Element el)
throws ConfigException
- Throws:
ConfigException
getNode
public String getNode()
getPos
public Coord getPos()
getArrivalTime
public long getArrivalTime()
clone
public Event clone()
- Specified by:
clone
in class Event
toXML
protected void toXML(Document doc,
Element el)
- Specified by:
toXML
in class Event
Copyright © 2013. All Rights Reserved.