org.xmlnetwork.Peerings Maven / Gradle / Ivy
Show all versions of model Show documentation
//
// 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.05.20 at 11:59:14 PM CEST
//
package org.xmlnetwork;
import java.util.ArrayList;
import java.util.List;
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.XmlType;
/**
* Java class for peerings complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="peerings">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="P" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PeeringSide" maxOccurs="2">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="as" type="{http://www.xmlnetwork.org}asNum" minOccurs="0"/>
* <element name="router" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="iface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "peerings", propOrder = {
"p"
})
public class Peerings {
@XmlElement(name = "P", required = true)
protected List p;
/**
* Gets the value of the p 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 p property.
*
*
* For example, to add a new item, do as follows:
*
* getP().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Peerings.P }
*
*
*/
public List getP() {
if (p == null) {
p = new ArrayList();
}
return this.p;
}
/**
* 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="PeeringSide" maxOccurs="2">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="as" type="{http://www.xmlnetwork.org}asNum" minOccurs="0"/>
* <element name="router" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="iface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"peeringSide"
})
public static class P {
@XmlElement(name = "PeeringSide", required = true)
protected List peeringSide;
@XmlAttribute
protected String id;
/**
* Gets the value of the peeringSide 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 peeringSide property.
*
*
* For example, to add a new item, do as follows:
*
* getPeeringSide().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Peerings.P.PeeringSide }
*
*
*/
public List getPeeringSide() {
if (peeringSide == null) {
peeringSide = new ArrayList();
}
return this.peeringSide;
}
/**
* 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;
}
/**
* 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="as" type="{http://www.xmlnetwork.org}asNum" minOccurs="0"/>
* <element name="router" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="iface" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"as",
"router",
"iface"
})
public static class PeeringSide {
protected String as;
protected String router;
protected String iface;
/**
* Gets the value of the as property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAs() {
return as;
}
/**
* Sets the value of the as property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAs(String value) {
this.as = value;
}
/**
* Gets the value of the router property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRouter() {
return router;
}
/**
* Sets the value of the router property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRouter(String value) {
this.router = value;
}
/**
* Gets the value of the iface property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIface() {
return iface;
}
/**
* Sets the value of the iface property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIface(String value) {
this.iface = value;
}
}
}
}