/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the * License for the specific language governing rights and limitations * under the License. * * The Original Code is available at https://svn.forge.morfeo-project.org/claudia * * The Initial Developer of the Original Code is Telefonica Investigacion y Desarrollo S.A.U., * (http://www.tid.es), Emilio Vargas 6, 28043 Madrid, Spain. .* * No portions of the Code have been created by third parties. * All Rights Reserved. * * Contributor(s): ______________________________________. * */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147 // 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: 2009.12.23 at 07:11:48 PM CET // package com.telefonica.claudia.ovf; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; 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.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for LoadBalacerPool_Type complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="LoadBalacerPool_Type"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="VirtualIP" type="{http://schemas.telefonica.com/claudia/ovf}IPAddress_Type"/> * <element name="VirtualPort" type="{http://schemas.telefonica.com/claudia/ovf}Port_Type"/> * <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="HealthMonitor" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="SendString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ReceiveString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="interval" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * <attribute name="timeout" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Persistence" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Method" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Expiration"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" use="required" type="{http://schemas.telefonica.com/claudia/ovf}Periodicity_Type" /> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Member" type="{http://schemas.telefonica.com/claudia/ovf}LoadBalancerMember_Type" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * <attribute name="method" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="least"/> * <enumeration value="fastest"/> * </restriction> * </simpleType> * </attribute> * <attribute name="enableAddressTranslation" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * <attribute name="enablePortTranslation" type="{http://www.w3.org/2001/XMLSchema}boolean" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LoadBalacerPool_Type", propOrder = { "virtualIP", "virtualPort", "description", "healthMonitor", "persistence", "member" }) public class LoadBalacerPoolType { @XmlElement(name = "VirtualIP", required = true) protected String virtualIP; @XmlElement(name = "VirtualPort") protected int virtualPort; @XmlElement(name = "Description") protected String description; @XmlElement(name = "HealthMonitor") protected List<LoadBalacerPoolType.HealthMonitor> healthMonitor; @XmlElement(name = "Persistence") protected LoadBalacerPoolType.Persistence persistence; @XmlElement(name = "Member") protected List<LoadBalancerMemberType> member; @XmlAttribute(name = "name", required = true) @XmlSchemaType(name = "anySimpleType") protected String name; @XmlAttribute(name = "method", required = true) protected String method; @XmlAttribute(name = "enableAddressTranslation") protected Boolean enableAddressTranslation; @XmlAttribute(name = "enablePortTranslation") protected Boolean enablePortTranslation; /** * Gets the value of the virtualIP property. * * @return * possible object is * {@link String } * */ public String getVirtualIP() { return virtualIP; } /** * Sets the value of the virtualIP property. * * @param value * allowed object is * {@link String } * */ public void setVirtualIP(String value) { this.virtualIP = value; } /** * Gets the value of the virtualPort property. * */ public int getVirtualPort() { return virtualPort; } /** * Sets the value of the virtualPort property. * */ public void setVirtualPort(int value) { this.virtualPort = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the healthMonitor property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the healthMonitor property. * * <p> * For example, to add a new item, do as follows: * <pre> * getHealthMonitor().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link LoadBalacerPoolType.HealthMonitor } * * */ public List<LoadBalacerPoolType.HealthMonitor> getHealthMonitor() { if (healthMonitor == null) { healthMonitor = new ArrayList<LoadBalacerPoolType.HealthMonitor>(); } return this.healthMonitor; } /** * Gets the value of the persistence property. * * @return * possible object is * {@link LoadBalacerPoolType.Persistence } * */ public LoadBalacerPoolType.Persistence getPersistence() { return persistence; } /** * Sets the value of the persistence property. * * @param value * allowed object is * {@link LoadBalacerPoolType.Persistence } * */ public void setPersistence(LoadBalacerPoolType.Persistence value) { this.persistence = value; } /** * Gets the value of the member property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the member property. * * <p> * For example, to add a new item, do as follows: * <pre> * getMember().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link LoadBalancerMemberType } * * */ public List<LoadBalancerMemberType> getMember() { if (member == null) { member = new ArrayList<LoadBalancerMemberType>(); } return this.member; } /** * 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 method property. * * @return * possible object is * {@link String } * */ public String getMethod() { return method; } /** * Sets the value of the method property. * * @param value * allowed object is * {@link String } * */ public void setMethod(String value) { this.method = value; } /** * Gets the value of the enableAddressTranslation property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEnableAddressTranslation() { return enableAddressTranslation; } /** * Sets the value of the enableAddressTranslation property. * * @param value * allowed object is * {@link Boolean } * */ public void setEnableAddressTranslation(Boolean value) { this.enableAddressTranslation = value; } /** * Gets the value of the enablePortTranslation property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEnablePortTranslation() { return enablePortTranslation; } /** * Sets the value of the enablePortTranslation property. * * @param value * allowed object is * {@link Boolean } * */ public void setEnablePortTranslation(Boolean value) { this.enablePortTranslation = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="SendString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ReceiveString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="interval" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * <attribute name="timeout" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * <attribute name="username" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="password" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sendString", "receiveString" }) public static class HealthMonitor { @XmlElement(name = "SendString") protected String sendString; @XmlElement(name = "ReceiveString") protected String receiveString; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "type", required = true) protected String type; @XmlAttribute(name = "interval", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger interval; @XmlAttribute(name = "timeout", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger timeout; @XmlAttribute(name = "username") protected String username; @XmlAttribute(name = "password") protected String password; /** * Gets the value of the sendString property. * * @return * possible object is * {@link String } * */ public String getSendString() { return sendString; } /** * Sets the value of the sendString property. * * @param value * allowed object is * {@link String } * */ public void setSendString(String value) { this.sendString = value; } /** * Gets the value of the receiveString property. * * @return * possible object is * {@link String } * */ public String getReceiveString() { return receiveString; } /** * Sets the value of the receiveString property. * * @param value * allowed object is * {@link String } * */ public void setReceiveString(String value) { this.receiveString = 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the interval property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getInterval() { return interval; } /** * Sets the value of the interval property. * * @param value * allowed object is * {@link BigInteger } * */ public void setInterval(BigInteger value) { this.interval = value; } /** * Gets the value of the timeout property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getTimeout() { return timeout; } /** * Sets the value of the timeout property. * * @param value * allowed object is * {@link BigInteger } * */ public void setTimeout(BigInteger value) { this.timeout = value; } /** * Gets the value of the username property. * * @return * possible object is * {@link String } * */ public String getUsername() { return username; } /** * Sets the value of the username property. * * @param value * allowed object is * {@link String } * */ public void setUsername(String value) { this.username = value; } /** * Gets the value of the password property. * * @return * possible object is * {@link String } * */ public String getPassword() { return password; } /** * Sets the value of the password property. * * @param value * allowed object is * {@link String } * */ public void setPassword(String value) { this.password = value; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Method" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Expiration"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" use="required" type="{http://schemas.telefonica.com/claudia/ovf}Periodicity_Type" /> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "method", "expiration" }) public static class Persistence { @XmlElement(name = "Method", required = true) protected String method; @XmlElement(name = "Expiration", required = true) protected LoadBalacerPoolType.Persistence.Expiration expiration; /** * Gets the value of the method property. * * @return * possible object is * {@link String } * */ public String getMethod() { return method; } /** * Sets the value of the method property. * * @param value * allowed object is * {@link String } * */ public void setMethod(String value) { this.method = value; } /** * Gets the value of the expiration property. * * @return * possible object is * {@link LoadBalacerPoolType.Persistence.Expiration } * */ public LoadBalacerPoolType.Persistence.Expiration getExpiration() { return expiration; } /** * Sets the value of the expiration property. * * @param value * allowed object is * {@link LoadBalacerPoolType.Persistence.Expiration } * */ public void setExpiration(LoadBalacerPoolType.Persistence.Expiration value) { this.expiration = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" use="required" type="{http://schemas.telefonica.com/claudia/ovf}Periodicity_Type" /> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Expiration { @XmlAttribute(name = "type", required = true) protected PeriodicityType type; @XmlAttribute(name = "value", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger value; /** * Gets the value of the type property. * * @return * possible object is * {@link PeriodicityType } * */ public PeriodicityType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link PeriodicityType } * */ public void setType(PeriodicityType value) { this.type = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigInteger } * */ public void setValue(BigInteger value) { this.value = value; } } } }