edu.cmu.emulator.creator.config
Class EmuNode

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

public class EmuNode
extends ConfigNode


Field Summary
private  String color
           
private  String name
           
private  List<Nic> nics
           
 
Constructor Summary
EmuNode(EmuNode copy)
           
EmuNode(String name, String color, List<Nic> nics)
           
 
Method Summary
static EmuNode fromXML(Element el)
           
 String getColor()
           
 String getName()
           
 List<Nic> getNics()
           
 void setColor(String color)
           
 void setName(String name)
           
 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

name

private String name

color

private String color

nics

private List<Nic> nics
Constructor Detail

EmuNode

public EmuNode(String name,
               String color,
               List<Nic> nics)

EmuNode

public EmuNode(EmuNode copy)
Method Detail

getName

public String getName()

getColor

public String getColor()

getNics

public List<Nic> getNics()

setName

public void setName(String name)

setColor

public void setColor(String color)

toString

public String toString()
Overrides:
toString in class Object

fromXML

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

toXML

protected Element toXML(Document doc)


Copyright © 2013. All Rights Reserved.