org.xmlnetwork.StaticRoute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of model Show documentation
Show all versions of model Show documentation
Support an hardware description language to automatically
configure bindings.
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.05.20 at 11:59:14 PM CEST
//
package org.xmlnetwork;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* Single element representing a static route
*
* Java class for Static-route complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Static-route">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="destination">
* <simpleType>
* <union memberTypes=" {http://www.xmlnetwork.org}ipPrefix">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="default"/>
* </restriction>
* </simpleType>
* </union>
* </simpleType>
* </element>
* <choice>
* <element name="nexthop" type="{http://www.xmlnetwork.org}hostIP"/>
* <element name="interface" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </choice>
* <element name="metric" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
* <minInclusive value="0"/>
* </restriction>
* </simpleType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Static-route", propOrder = {
"destination",
"nexthop",
"_interface",
"metric"
})
public class StaticRoute {
@XmlElement(required = true)
protected String destination;
protected String nexthop;
@XmlElement(name = "interface")
protected String _interface;
protected BigInteger metric;
/**
* Gets the value of the destination property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDestination() {
return destination;
}
/**
* Sets the value of the destination property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestination(String value) {
this.destination = value;
}
/**
* Gets the value of the nexthop property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNexthop() {
return nexthop;
}
/**
* Sets the value of the nexthop property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNexthop(String value) {
this.nexthop = value;
}
/**
* Gets the value of the interface property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInterface() {
return _interface;
}
/**
* Sets the value of the interface property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInterface(String value) {
this._interface = value;
}
/**
* Gets the value of the metric property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMetric() {
return metric;
}
/**
* Sets the value of the metric property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMetric(BigInteger value) {
this.metric = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy