All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlnetwork.RipConf Maven / Gradle / Ivy

The newest version!
//
// 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.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="send_version" type="{http://www.xmlnetwork.org}version" minOccurs="0"/>
 *         <element name="receive_version" type="{http://www.xmlnetwork.org}version" minOccurs="0"/>
 *         <element name="metric_offset" type="{http://www.xmlnetwork.org}ripMetric" minOccurs="0"/>
 *         <element name="default_information_originate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="split_horizon" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="timer_update" type="{http://www.xmlnetwork.org}timer" minOccurs="0"/>
 *         <element name="timer_invalid" type="{http://www.xmlnetwork.org}timer" minOccurs="0"/>
 *         <element name="timer_garbage" type="{http://www.xmlnetwork.org}timer" minOccurs="0"/>
 *         <element name="static_route" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="prefix" type="{http://www.xmlnetwork.org}ipPrefix" maxOccurs="unbounded"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="neighbour" type="{http://www.xmlnetwork.org}neighbour" maxOccurs="unbounded"/>
 *         <element name="policy" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <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>
 *         <element name="authentication" type="{http://www.xmlnetwork.org}authentication" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sendVersion", "receiveVersion", "metricOffset", "defaultInformationOriginate", "splitHorizon", "timerUpdate", "timerInvalid", "timerGarbage", "staticRoute", "neighbour", "policy", "authentication" }) @XmlRootElement(name = "RipConf") public class RipConf { @XmlElement(name = "send_version") protected String sendVersion; @XmlElement(name = "receive_version") protected String receiveVersion; @XmlElement(name = "metric_offset") protected Integer metricOffset; @XmlElement(name = "default_information_originate") protected Boolean defaultInformationOriginate; @XmlElement(name = "split_horizon") protected Boolean splitHorizon; @XmlElement(name = "timer_update", defaultValue = "30") protected Integer timerUpdate; @XmlElement(name = "timer_invalid", defaultValue = "180") protected Integer timerInvalid; @XmlElement(name = "timer_garbage", defaultValue = "240") protected Integer timerGarbage; @XmlElement(name = "static_route") protected RipConf.StaticRoute staticRoute; @XmlElement(required = true) protected List neighbour; protected List policy; protected Authentication authentication; /** * Gets the value of the sendVersion property. * * @return * possible object is * {@link String } * */ public String getSendVersion() { return sendVersion; } /** * Sets the value of the sendVersion property. * * @param value * allowed object is * {@link String } * */ public void setSendVersion(String value) { this.sendVersion = value; } /** * Gets the value of the receiveVersion property. * * @return * possible object is * {@link String } * */ public String getReceiveVersion() { return receiveVersion; } /** * Sets the value of the receiveVersion property. * * @param value * allowed object is * {@link String } * */ public void setReceiveVersion(String value) { this.receiveVersion = value; } /** * Gets the value of the metricOffset property. * * @return * possible object is * {@link Integer } * */ public Integer getMetricOffset() { return metricOffset; } /** * Sets the value of the metricOffset property. * * @param value * allowed object is * {@link Integer } * */ public void setMetricOffset(Integer value) { this.metricOffset = value; } /** * Gets the value of the defaultInformationOriginate property. * * @return * possible object is * {@link Boolean } * */ public Boolean isDefaultInformationOriginate() { return defaultInformationOriginate; } /** * Sets the value of the defaultInformationOriginate property. * * @param value * allowed object is * {@link Boolean } * */ public void setDefaultInformationOriginate(Boolean value) { this.defaultInformationOriginate = value; } /** * Gets the value of the splitHorizon property. * * @return * possible object is * {@link Boolean } * */ public Boolean isSplitHorizon() { return splitHorizon; } /** * Sets the value of the splitHorizon property. * * @param value * allowed object is * {@link Boolean } * */ public void setSplitHorizon(Boolean value) { this.splitHorizon = value; } /** * Gets the value of the timerUpdate property. * * @return * possible object is * {@link Integer } * */ public Integer getTimerUpdate() { return timerUpdate; } /** * Sets the value of the timerUpdate property. * * @param value * allowed object is * {@link Integer } * */ public void setTimerUpdate(Integer value) { this.timerUpdate = value; } /** * Gets the value of the timerInvalid property. * * @return * possible object is * {@link Integer } * */ public Integer getTimerInvalid() { return timerInvalid; } /** * Sets the value of the timerInvalid property. * * @param value * allowed object is * {@link Integer } * */ public void setTimerInvalid(Integer value) { this.timerInvalid = value; } /** * Gets the value of the timerGarbage property. * * @return * possible object is * {@link Integer } * */ public Integer getTimerGarbage() { return timerGarbage; } /** * Sets the value of the timerGarbage property. * * @param value * allowed object is * {@link Integer } * */ public void setTimerGarbage(Integer value) { this.timerGarbage = value; } /** * Gets the value of the staticRoute property. * * @return * possible object is * {@link RipConf.StaticRoute } * */ public RipConf.StaticRoute getStaticRoute() { return staticRoute; } /** * Sets the value of the staticRoute property. * * @param value * allowed object is * {@link RipConf.StaticRoute } * */ public void setStaticRoute(RipConf.StaticRoute value) { this.staticRoute = value; } /** * Gets the value of the neighbour 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 neighbour property. * *

* For example, to add a new item, do as follows: *

     *    getNeighbour().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Neighbour } * * */ public List getNeighbour() { if (neighbour == null) { neighbour = new ArrayList(); } return this.neighbour; } /** * 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 RipConf.Policy } * * */ public List getPolicy() { if (policy == null) { policy = new ArrayList(); } return this.policy; } /** * Gets the value of the authentication property. * * @return * possible object is * {@link Authentication } * */ public Authentication getAuthentication() { return authentication; } /** * Sets the value of the authentication property. * * @param value * allowed object is * {@link Authentication } * */ public void setAuthentication(Authentication value) { this.authentication = 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">
     *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <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 = "") public static class Policy { @XmlAttribute protected String name; @XmlAttribute protected String type; /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = 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="prefix" type="{http://www.xmlnetwork.org}ipPrefix" maxOccurs="unbounded"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "prefix" }) public static class StaticRoute { @XmlElement(required = true) protected List prefix; /** * Gets the value of the prefix 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 prefix property. * *

* For example, to add a new item, do as follows: *

         *    getPrefix().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getPrefix() { if (prefix == null) { prefix = new ArrayList(); } return this.prefix; } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy