org.xmlnetwork.RoutingPols 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 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 routingPols complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="routingPols">
* <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="peeringSpecification" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="to" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Filter">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="r" type="{http://www.xmlnetwork.org}ipPrefix" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as" type="{http://www.xmlnetwork.org}asNum" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-set" type="{http://www.xmlnetwork.org}asSet" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="accepts"/>
* <enumeration value="announces"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="import"/>
* <enumeration value="export"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "routingPols", propOrder = {
"p"
})
public class RoutingPols {
@XmlElement(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 RoutingPols.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="peeringSpecification" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice>
* <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="to" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Filter">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="r" type="{http://www.xmlnetwork.org}ipPrefix" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as" type="{http://www.xmlnetwork.org}asNum" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-set" type="{http://www.xmlnetwork.org}asSet" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="accepts"/>
* <enumeration value="announces"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="import"/>
* <enumeration value="export"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"peeringSpecification",
"filter"
})
public static class P {
@XmlElement(required = true)
protected List peeringSpecification;
@XmlElement(name = "Filter", required = true)
protected RoutingPols.P.Filter filter;
@XmlAttribute
protected String type;
/**
* Gets the value of the peeringSpecification 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 peeringSpecification property.
*
*
* For example, to add a new item, do as follows:
*
* getPeeringSpecification().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoutingPols.P.PeeringSpecification }
*
*
*/
public List getPeeringSpecification() {
if (peeringSpecification == null) {
peeringSpecification = new ArrayList();
}
return this.peeringSpecification;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link RoutingPols.P.Filter }
*
*/
public RoutingPols.P.Filter getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link RoutingPols.P.Filter }
*
*/
public void setFilter(RoutingPols.P.Filter value) {
this.filter = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = 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="r" type="{http://www.xmlnetwork.org}ipPrefix" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as" type="{http://www.xmlnetwork.org}asNum" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-set" type="{http://www.xmlnetwork.org}asSet" maxOccurs="unbounded" minOccurs="0"/>
* <element name="as-path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="type">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="accepts"/>
* <enumeration value="announces"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"r",
"as",
"asSet",
"asPath"
})
public static class Filter {
protected List r;
protected List as;
@XmlElement(name = "as-set")
protected List asSet;
@XmlElement(name = "as-path")
protected List asPath;
@XmlAttribute
protected String type;
/**
* Gets the value of the r 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 r property.
*
*
* For example, to add a new item, do as follows:
*
* getR().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getR() {
if (r == null) {
r = new ArrayList();
}
return this.r;
}
/**
* Gets the value of the as 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 as property.
*
*
* For example, to add a new item, do as follows:
*
* getAs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAs() {
if (as == null) {
as = new ArrayList();
}
return this.as;
}
/**
* Gets the value of the asSet 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 asSet property.
*
*
* For example, to add a new item, do as follows:
*
* getAsSet().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAsSet() {
if (asSet == null) {
asSet = new ArrayList();
}
return this.asSet;
}
/**
* Gets the value of the asPath 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 asPath property.
*
*
* For example, to add a new item, do as follows:
*
* getAsPath().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAsPath() {
if (asPath == null) {
asPath = new ArrayList();
}
return this.asPath;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = 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>
* <choice>
* <element name="from" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="to" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </choice>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"from",
"to"
})
public static class PeeringSpecification {
protected String from;
protected String to;
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrom() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrom(String value) {
this.from = value;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTo() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTo(String value) {
this.to = value;
}
}
}
}