/* * This file is part of the OSMembrane project. * More informations under www.osmembrane.de * * The project is licensed under the GNU GENERAL PUBLIC LICENSE 3.0. * for more details about the license see http://www.osmembrane.de/license/ * * Source: $HeadURL$ ($Revision$) * Last changed: $Date$ */ // // 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: 2011.02.04 at 11:28:46 AM MEZ // package de.osmembrane.model.xml; 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.XmlType; /** * Describes a task parameter. * * <p> * Java class for XMLParameter complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="XMLParameter"> * <complexContent> * <extension base="{http://osmembrane.de/model/xml}XMLHasDescription"> * <sequence> * <element name="enumValue" type="{http://osmembrane.de/model/xml}XMLEnumValue" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="friendlyName" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="defaultParameter" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="type" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="int"/> * <enumeration value="string"/> * <enumeration value="boolean"/> * <enumeration value="enum"/> * <enumeration value="filename"/> * <enumeration value="directory"/> * <enumeration value="uri"/> * <enumeration value="instant"/> * <enumeration value="bbox"/> * <enumeration value="list"/> * </restriction> * </simpleType> * </attribute> * <attribute name="listType" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="hasSpaces" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> * <attribute name="booleanEncoding" default="yesno"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="yesno"/> * <enumeration value="truefalse"/> * </restriction> * </simpleType> * </attribute> * <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "XMLParameter", propOrder = { "enumValue" }) @SuppressWarnings(value = "all") public class XMLParameter extends XMLHasDescription { protected List<XMLEnumValue> enumValue; @XmlAttribute(required = true) protected String name; @XmlAttribute protected String friendlyName; @XmlAttribute protected Boolean required; @XmlAttribute protected Boolean defaultParameter; @XmlAttribute(required = true) protected String type; @XmlAttribute protected String listType; @XmlAttribute protected Boolean hasSpaces; @XmlAttribute protected String booleanEncoding; @XmlAttribute protected String defaultValue; /** * Gets the value of the enumValue 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 enumValue property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getEnumValue().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link XMLEnumValue } * * */ public List<XMLEnumValue> getEnumValue() { if (enumValue == null) { enumValue = new ArrayList<XMLEnumValue>(); } return this.enumValue; } public boolean isSetEnumValue() { return ((this.enumValue != null) && (!this.enumValue.isEmpty())); } public void unsetEnumValue() { this.enumValue = null; } /** * 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; } public boolean isSetName() { return (this.name != null); } /** * Gets the value of the friendlyName property. * * @return possible object is {@link String } * */ public String getFriendlyName() { return friendlyName; } /** * Sets the value of the friendlyName property. * * @param value * allowed object is {@link String } * */ public void setFriendlyName(String value) { this.friendlyName = value; } public boolean isSetFriendlyName() { return (this.friendlyName != null); } /** * Gets the value of the required property. * * @return possible object is {@link Boolean } * */ public boolean isRequired() { if (required == null) { return false; } 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; } public boolean isSetRequired() { return (this.required != null); } public void unsetRequired() { this.required = null; } /** * Gets the value of the defaultParameter property. * * @return possible object is {@link Boolean } * */ public boolean isDefaultParameter() { if (defaultParameter == null) { return false; } else { return defaultParameter; } } /** * Sets the value of the defaultParameter property. * * @param value * allowed object is {@link Boolean } * */ public void setDefaultParameter(boolean value) { this.defaultParameter = value; } public boolean isSetDefaultParameter() { return (this.defaultParameter != null); } public void unsetDefaultParameter() { this.defaultParameter = null; } /** * 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; } public boolean isSetType() { return (this.type != null); } /** * Gets the value of the listType property. * * @return possible object is {@link String } * */ public String getListType() { return listType; } /** * Sets the value of the listType property. * * @param value * allowed object is {@link String } * */ public void setListType(String value) { this.listType = value; } public boolean isSetListType() { return (this.listType != null); } /** * Gets the value of the hasSpaces property. * * @return possible object is {@link Boolean } * */ public boolean isHasSpaces() { if (hasSpaces == null) { return false; } else { return hasSpaces; } } /** * Sets the value of the hasSpaces property. * * @param value * allowed object is {@link Boolean } * */ public void setHasSpaces(boolean value) { this.hasSpaces = value; } public boolean isSetHasSpaces() { return (this.hasSpaces != null); } public void unsetHasSpaces() { this.hasSpaces = null; } /** * Gets the value of the booleanEncoding property. * * @return possible object is {@link String } * */ public String getBooleanEncoding() { if (booleanEncoding == null) { return "yesno"; } else { return booleanEncoding; } } /** * Sets the value of the booleanEncoding property. * * @param value * allowed object is {@link String } * */ public void setBooleanEncoding(String value) { this.booleanEncoding = value; } public boolean isSetBooleanEncoding() { return (this.booleanEncoding != null); } /** * 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; } public boolean isSetDefaultValue() { return (this.defaultValue != null); } }