org.xmlnetwork.RouterConf Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2008.06.03 at 04:27:27 PM CEST
//
package org.xmlnetwork;
import java.util.ArrayList;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Interface" type="{http://www.xmlnetwork.org}Interface" maxOccurs="unbounded"/>
* <element ref="{http://www.xmlnetwork.org}Policy" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.xmlnetwork.org}List" maxOccurs="unbounded" minOccurs="0"/>
* <element name="StaticRoutes" type="{http://www.xmlnetwork.org}Static-routes" minOccurs="0"/>
* <element ref="{http://www.xmlnetwork.org}RipConf" minOccurs="0"/>
* <element ref="{http://www.xmlnetwork.org}BGPConf" minOccurs="0"/>
* </sequence>
* <attribute name="Hostname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="id" type="{http://www.xmlnetwork.org}routerID" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"_interface",
"policy",
"list",
"staticRoutes",
"ripConf",
"bgpConf"
})
@XmlRootElement(name = "RouterConf")
public class RouterConf {
@XmlElement(name = "Interface", required = true)
protected java.util.List _interface;
@XmlElement(name = "Policy")
protected java.util.List policy;
@XmlElement(name = "List")
protected java.util.List list;
@XmlElement(name = "StaticRoutes")
protected StaticRoutes staticRoutes;
@XmlElement(name = "RipConf")
protected RipConf ripConf;
@XmlElement(name = "BGPConf")
protected BGPConf bgpConf;
@XmlAttribute(name = "Hostname")
protected String hostname;
@XmlAttribute
protected String id;
/**
* Gets the value of the interface property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the interface property.
*
*
* For example, to add a new item, do as follows:
*
* getInterface().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Interface }
*
*
*/
public java.util.List getInterface() {
if (_interface == null) {
_interface = new ArrayList();
}
return this._interface;
}
/**
* Gets the value of the policy property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the policy property.
*
*
* For example, to add a new item, do as follows:
*
* getPolicy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Policy }
*
*
*/
public java.util.List getPolicy() {
if (policy == null) {
policy = new ArrayList();
}
return this.policy;
}
/**
* Gets the value of the list property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the list property.
*
*
* For example, to add a new item, do as follows:
*
* getList().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link org.xmlnetwork.List }
*
*
*/
public java.util.List getList() {
if (list == null) {
list = new ArrayList();
}
return this.list;
}
/**
* Gets the value of the staticRoutes property.
*
* @return
* possible object is
* {@link StaticRoutes }
*
*/
public StaticRoutes getStaticRoutes() {
return staticRoutes;
}
/**
* Sets the value of the staticRoutes property.
*
* @param value
* allowed object is
* {@link StaticRoutes }
*
*/
public void setStaticRoutes(StaticRoutes value) {
this.staticRoutes = value;
}
/**
* Gets the value of the ripConf property.
*
* @return
* possible object is
* {@link RipConf }
*
*/
public RipConf getRipConf() {
return ripConf;
}
/**
* Sets the value of the ripConf property.
*
* @param value
* allowed object is
* {@link RipConf }
*
*/
public void setRipConf(RipConf value) {
this.ripConf = value;
}
/**
* Gets the value of the bgpConf property.
*
* @return
* possible object is
* {@link BGPConf }
*
*/
public BGPConf getBGPConf() {
return bgpConf;
}
/**
* Sets the value of the bgpConf property.
*
* @param value
* allowed object is
* {@link BGPConf }
*
*/
public void setBGPConf(BGPConf value) {
this.bgpConf = value;
}
/**
* Gets the value of the hostname property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHostname() {
return hostname;
}
/**
* Sets the value of the hostname property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHostname(String value) {
this.hostname = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
}