org.xmlnetwork.Portrange 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 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 portrange complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="portrange">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="from" type="{http://www.xmlnetwork.org}port_type"/>
* <element name="to" type="{http://www.xmlnetwork.org}port_type"/>
* </sequence>
* <attribute name="negate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "portrange", propOrder = {
"from",
"to"
})
public class Portrange {
@XmlElement(required = true)
protected String from;
@XmlElement(required = true)
protected String to;
@XmlAttribute
protected Boolean negate;
/**
* 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;
}
/**
* Gets the value of the negate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isNegate() {
if (negate == null) {
return false;
} else {
return negate;
}
}
/**
* Sets the value of the negate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setNegate(Boolean value) {
this.negate = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy