// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // 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: 2012.07.24 at 11:42:28 PM CEST // package eu.prestoprime.model.ext.qa; import java.io.Serializable; 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.XmlType; /** * <p> * Java class for CreationToolType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="CreationToolType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Tool" type="{urn:mpeg:mpeg7:schema:2004}TermUseType"/> * <element name="Setting" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CreationToolType", propOrder = { "tool", "setting" }) public class CreationToolType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Tool", required = true) protected TermUseType tool; @XmlElement(name = "Setting") protected List<CreationToolType.Setting> setting; /** * Gets the value of the tool property. * * @return possible object is {@link TermUseType } * */ public TermUseType getTool() { return tool; } /** * Sets the value of the tool property. * * @param value * allowed object is {@link TermUseType } * */ public void setTool(TermUseType value) { this.tool = value; } /** * Gets the value of the setting 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 setting property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getSetting().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link CreationToolType.Setting } * * */ public List<CreationToolType.Setting> getSetting() { if (setting == null) { setting = new ArrayList<CreationToolType.Setting>(); } return this.setting; } /** * <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="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Setting implements Serializable { private final static long serialVersionUID = 1L; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "value", required = true) protected String 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 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; } } }