/* * 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 group of tasks. * * <p> * Java class for XMLFunction complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="XMLFunction"> * <complexContent> * <extension base="{http://osmembrane.de/model/xml}XMLHasDescription"> * <sequence> * <element ref="{http://osmembrane.de/model/xml}task" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="friendlyName" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "XMLFunction", propOrder = { "task" }) @SuppressWarnings(value = "all") public class XMLFunction extends XMLHasDescription { protected List<XMLTask> task; @XmlAttribute(required = true) protected String id; @XmlAttribute protected String friendlyName; @XmlAttribute protected String icon; /** * Gets the value of the task 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 task property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getTask().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link XMLTask } * * */ public List<XMLTask> getTask() { if (task == null) { task = new ArrayList<XMLTask>(); } return this.task; } public boolean isSetTask() { return ((this.task != null) && (!this.task.isEmpty())); } public void unsetTask() { this.task = null; } /** * Gets the value of the id property. * * @return possible object is {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is {@link String } * */ public void setId(String value) { this.id = value; } public boolean isSetId() { return (this.id != 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 icon property. * * @return possible object is {@link String } * */ public String getIcon() { return icon; } /** * Sets the value of the icon property. * * @param value * allowed object is {@link String } * */ public void setIcon(String value) { this.icon = value; } public boolean isSetIcon() { return (this.icon != null); } }