// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // 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: 2014.03.02 at 01:27:06 PM GMT-08:00 // package org.zstack.core.config.schema; 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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <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 maxOccurs="unbounded" minOccurs="0"> * <element name="config"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="validatorRegularExpression" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "config" }) @XmlRootElement(name = "globalConfig") public class GlobalConfig { protected List<GlobalConfig.Config> config; /** * Gets the value of the config 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 config property. * * <p> * For example, to add a new item, do as follows: * <pre> * getConfig().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link GlobalConfig.Config } * * */ public List<GlobalConfig.Config> getConfig() { if (config == null) { config = new ArrayList<GlobalConfig.Config>(); } return this.config; } /** * <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="name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="validatorRegularExpression" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "category", "description", "type", "validatorRegularExpression", "defaultValue", "value", "hidden" }) public static class Config { @XmlElement(required = true) protected String name; @XmlElement(required = true) protected String category; @XmlElement(required = true) protected String description; @XmlElement(required = true) protected String type; @XmlElement(required = true) protected String validatorRegularExpression; @XmlElement(required = true) protected String defaultValue; @XmlElement(required = true) protected String value; protected boolean hidden; /** * 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 category property. * * @return * possible object is * {@link String } * */ public String getCategory() { return category; } /** * Sets the value of the category property. * * @param value * allowed object is * {@link String } * */ public void setCategory(String value) { this.category = 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 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 validatorRegularExpression property. * * @return * possible object is * {@link String } * */ public String getValidatorRegularExpression() { return validatorRegularExpression; } /** * Sets the value of the validatorRegularExpression property. * * @param value * allowed object is * {@link String } * */ public void setValidatorRegularExpression(String value) { this.validatorRegularExpression = value; } /** * Gets the value of the defaultValue property. * * @return * possible object is * {@link String } * */ public String getDefaultValue() { return defaultValue; } /** * Sets the value of the defaultValue property. * * @param value * allowed object is * {@link String } * */ public void setDefaultValue(String value) { this.defaultValue = value; } /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the hidden property. * */ public boolean isHidden() { return hidden; } /** * Sets the value of the hidden property. * */ public void setHidden(boolean value) { this.hidden = value; } } }