/**
* Abiquo community edition
* cloud management application for hybrid clouds
* Copyright (C) 2008-2010 - Abiquo Holdings S.L.
*
* This application is free software; you can redistribute it and/or
* modify it under the terms of the GNU LESSER GENERAL PUBLIC
* LICENSE as published by the Free Software Foundation under
* version 3 of the License
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* LESSER GENERAL PUBLIC LICENSE v.3 for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.02.23 at 01:07:44 PM CET
//
package org.dmtf.schemas.ovf.envelope._1;
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;
/**
* <p>Java class for orgNetwork_Type complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="orgNetwork_Type">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="dhcp_options" type="{http://schemas.dmtf.org/ovf/envelope/1}DHCP_Options"/>
* <element name="configuration" type="{http://schemas.dmtf.org/ovf/envelope/1}networkConfiguration_Type"/>
* </sequence>
* <attribute name="network_name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="vlan_tag" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "orgNetwork_Type", propOrder = {
"dhcpOptions",
"configuration"
})
public class OrgNetworkType {
@XmlElement(name = "dhcp_options", required = true)
protected DHCPOptions dhcpOptions;
@XmlElement(required = true)
protected NetworkConfigurationType configuration;
@XmlAttribute(name = "network_name", namespace = "http://schemas.dmtf.org/ovf/envelope/1")
protected String networkName;
@XmlAttribute(name = "vlan_tag", namespace = "http://schemas.dmtf.org/ovf/envelope/1")
protected Integer vlanTag;
@XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1")
protected Boolean required;
/**
* Gets the value of the dhcpOptions property.
*
* @return
* possible object is
* {@link DHCPOptions }
*
*/
public DHCPOptions getDhcpOptions() {
return dhcpOptions;
}
/**
* Sets the value of the dhcpOptions property.
*
* @param value
* allowed object is
* {@link DHCPOptions }
*
*/
public void setDhcpOptions(DHCPOptions value) {
this.dhcpOptions = value;
}
/**
* Gets the value of the configuration property.
*
* @return
* possible object is
* {@link NetworkConfigurationType }
*
*/
public NetworkConfigurationType getConfiguration() {
return configuration;
}
/**
* Sets the value of the configuration property.
*
* @param value
* allowed object is
* {@link NetworkConfigurationType }
*
*/
public void setConfiguration(NetworkConfigurationType value) {
this.configuration = value;
}
/**
* Gets the value of the networkName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNetworkName() {
return networkName;
}
/**
* Sets the value of the networkName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNetworkName(String value) {
this.networkName = value;
}
/**
* Gets the value of the vlanTag property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getVlanTag() {
return vlanTag;
}
/**
* Sets the value of the vlanTag property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setVlanTag(Integer value) {
this.vlanTag = value;
}
/**
* Gets the value of the required property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isRequired() {
if (required == null) {
return true;
} else {
return required;
}
}
/**
* Sets the value of the required property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRequired(Boolean value) {
this.required = value;
}
}