/*
* 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 functions.
*
* <p>
* Java class for XMLFunctionGroup complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="XMLFunctionGroup">
* <complexContent>
* <extension base="{http://osmembrane.de/model/xml}XMLHasDescription">
* <sequence>
* <element name="function" type="{http://osmembrane.de/model/xml}XMLFunction" 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="color" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "XMLFunctionGroup", propOrder = { "function" })
@SuppressWarnings(value = "all")
public class XMLFunctionGroup extends XMLHasDescription {
protected List<XMLFunction> function;
@XmlAttribute(required = true)
protected String id;
@XmlAttribute
protected String friendlyName;
@XmlAttribute(required = true)
protected String color;
/**
* Gets the value of the function 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 function property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getFunction().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link XMLFunction }
*
*
*/
public List<XMLFunction> getFunction() {
if (function == null) {
function = new ArrayList<XMLFunction>();
}
return this.function;
}
public boolean isSetFunction() {
return ((this.function != null) && (!this.function.isEmpty()));
}
public void unsetFunction() {
this.function = 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 color property.
*
* @return possible object is {@link String }
*
*/
public String getColor() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setColor(String value) {
this.color = value;
}
public boolean isSetColor() {
return (this.color != null);
}
}