/** * 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ip_pool_Type complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ip_pool_Type"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="mac" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="ip" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="configureGateway" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * <attribute name="bootstrapConfigURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute name="bootstrapConfigAuth" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute ref="{http://schemas.dmtf.org/ovf/envelope/1}required"/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ip_pool_Type") public class IpPoolType { @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String mac; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String name; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String ip; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected Boolean configureGateway; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") @XmlSchemaType(name = "anyURI") protected String bootstrapConfigURI; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected String bootstrapConfigAuth; @XmlAttribute(namespace = "http://schemas.dmtf.org/ovf/envelope/1") protected Boolean required; /** * Gets the value of the mac property. * * @return * possible object is * {@link String } * */ public String getMac() { return mac; } /** * Sets the value of the mac property. * * @param value * allowed object is * {@link String } * */ public void setMac(String value) { this.mac = value; } /** * 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 ip property. * * @return * possible object is * {@link String } * */ public String getIp() { return ip; } /** * Sets the value of the ip property. * * @param value * allowed object is * {@link String } * */ public void setIp(String value) { this.ip = value; } /** * Gets the value of the configureGateway property. * * @return * possible object is * {@link Boolean } * */ public Boolean isConfigureGateway() { return configureGateway; } /** * Sets the value of the configureGateway property. * * @param value * allowed object is * {@link Boolean } * */ public void setConfigureGateway(Boolean value) { this.configureGateway = value; } /** * Gets the value of the bootstrapConfigURI property. * * @return * possible object is * {@link String } * */ public String getBootstrapConfigURI() { return bootstrapConfigURI; } /** * Sets the value of the bootstrapConfigURI property. * * @param value * allowed object is * {@link String } * */ public void setBootstrapConfigURI(String value) { this.bootstrapConfigURI = value; } /** * Gets the value of the bootstrapConfigAuth property. * * @return * possible object is * {@link String } * */ public String getBootstrapConfigAuth() { return bootstrapConfigAuth; } /** * Sets the value of the bootstrapConfigAuth property. * * @param value * allowed object is * {@link String } * */ public void setBootstrapConfigAuth(String value) { this.bootstrapConfigAuth = 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; } }