edu.cmu.emulator.creator.config.delayModels
Class FixedDelayModel

java.lang.Object
  extended by edu.cmu.emulator.creator.config.ConfigNode
      extended by edu.cmu.emulator.creator.config.DelayModel
          extended by edu.cmu.emulator.creator.config.delayModels.FixedDelayModel

public class FixedDelayModel
extends DelayModel


Field Summary
private  int delay
           
 
Constructor Summary
FixedDelayModel(int delay)
           
 
Method Summary
 DelayModel clone()
           
static FixedDelayModel fromXML(Element el)
           
 int getDelay()
           
 String getType()
           
 void setDelay(int delay)
           
protected  void toXML(Document doc, Element parent)
           
 
Methods inherited from class edu.cmu.emulator.creator.config.DelayModel
toXML
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delay

private int delay
Constructor Detail

FixedDelayModel

public FixedDelayModel(int delay)
Method Detail

getDelay

public int getDelay()

setDelay

public void setDelay(int delay)

clone

public DelayModel clone()
Specified by:
clone in class DelayModel

getType

public String getType()
Specified by:
getType in class DelayModel

fromXML

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

toXML

protected void toXML(Document doc,
                     Element parent)
Specified by:
toXML in class DelayModel


Copyright © 2013. All Rights Reserved.