/** * 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 networkConfiguration_Type complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="networkConfiguration_Type"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="dhcp_service" type="{http://schemas.dmtf.org/ovf/envelope/1}DHCP_Service_Type"/> * </sequence> * <attribute name="gateway" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="network_address" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="mask" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="netmask" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="primary_DNS" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="secondary_DNS" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="sufix_DNS" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="fence_mode" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "networkConfiguration_Type", propOrder = { "dhcpService" }) public class NetworkConfigurationType { @XmlElement(name = "dhcp_service", required = true) protected DHCPServiceType dhcpService; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String gateway; @XmlAttribute(name = "network_address", namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String networkAddress; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected Integer mask; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String netmask; @XmlAttribute(name = "primary_DNS", namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String primaryDNS; @XmlAttribute(name = "secondary_DNS", namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String secondaryDNS; @XmlAttribute(name = "sufix_DNS", namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String sufixDNS; @XmlAttribute(name = "fence_mode", namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String fenceMode; /** * Gets the value of the dhcpService property. * * @return * possible object is * {@link DHCPServiceType } * */ public DHCPServiceType getDhcpService() { return dhcpService; } /** * Sets the value of the dhcpService property. * * @param value * allowed object is * {@link DHCPServiceType } * */ public void setDhcpService(DHCPServiceType value) { this.dhcpService = value; } /** * Gets the value of the gateway property. * * @return * possible object is * {@link String } * */ public String getGateway() { return gateway; } /** * Sets the value of the gateway property. * * @param value * allowed object is * {@link String } * */ public void setGateway(String value) { this.gateway = value; } /** * Gets the value of the networkAddress property. * * @return * possible object is * {@link String } * */ public String getNetworkAddress() { return networkAddress; } /** * Sets the value of the networkAddress property. * * @param value * allowed object is * {@link String } * */ public void setNetworkAddress(String value) { this.networkAddress = value; } /** * Gets the value of the mask property. * * @return * possible object is * {@link Integer } * */ public Integer getMask() { return mask; } /** * Sets the value of the mask property. * * @param value * allowed object is * {@link Integer } * */ public void setMask(Integer value) { this.mask = value; } /** * Gets the value of the netmask property. * * @return * possible object is * {@link String } * */ public String getNetmask() { return netmask; } /** * Sets the value of the netmask property. * * @param value * allowed object is * {@link String } * */ public void setNetmask(String value) { this.netmask = value; } /** * Gets the value of the primaryDNS property. * * @return * possible object is * {@link String } * */ public String getPrimaryDNS() { return primaryDNS; } /** * Sets the value of the primaryDNS property. * * @param value * allowed object is * {@link String } * */ public void setPrimaryDNS(String value) { this.primaryDNS = value; } /** * Gets the value of the secondaryDNS property. * * @return * possible object is * {@link String } * */ public String getSecondaryDNS() { return secondaryDNS; } /** * Sets the value of the secondaryDNS property. * * @param value * allowed object is * {@link String } * */ public void setSecondaryDNS(String value) { this.secondaryDNS = value; } /** * Gets the value of the sufixDNS property. * * @return * possible object is * {@link String } * */ public String getSufixDNS() { return sufixDNS; } /** * Sets the value of the sufixDNS property. * * @param value * allowed object is * {@link String } * */ public void setSufixDNS(String value) { this.sufixDNS = value; } /** * Gets the value of the fenceMode property. * * @return * possible object is * {@link String } * */ public String getFenceMode() { return fenceMode; } /** * Sets the value of the fenceMode property. * * @param value * allowed object is * {@link String } * */ public void setFenceMode(String value) { this.fenceMode = value; } }