// // 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: 2015.07.13 at 12:00:05 PM BRT // package com.ibm.rqm.xml.bind; 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.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <extension base="{http://jazz.net/xmlns/alm/qm/v0.1/}reportableArtifact"> * <sequence> * <element ref="{http://purl.org/dc/elements/1.1/}title"/> * <element ref="{http://purl.org/dc/elements/1.1/}description"/> * <element ref="{http://jazz.net/xmlns/alm/v0.1/}updated"/> * <element ref="{http://purl.org/dc/elements/1.1/}creator"/> * <element ref="{http://jazz.net/xmlns/alm/v0.1/}owner"/> * <element name="category" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="term" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="termUUID" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="valueUUID" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="attachment"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="variables"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="variable" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="description"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}int" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "title", "description", "updated", "creator", "owner", "category", "attachment", "variables" }) @XmlRootElement(name = "datapool") public class Datapool extends ReportableArtifact { @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String title; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String description; @XmlElement(namespace = "http://jazz.net/xmlns/alm/v0.1/", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar updated; @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected Creator creator; @XmlElement(namespace = "http://jazz.net/xmlns/alm/v0.1/", required = true) protected Owner owner; protected List<Datapool.Category> category; @XmlElement(required = true) protected Datapool.Attachment attachment; @XmlElement(required = true) protected Datapool.Variables variables; /** * A name given to the datapool. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * [READ-ONLY] An account of the remote script. * * @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; } /** * [READ-ONLY] XML dateTime of the last update of the datapool. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getUpdated() { return updated; } /** * Sets the value of the updated property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setUpdated(XMLGregorianCalendar value) { this.updated = value; } /** * [READ-ONLY] [IMMUTABLE] The contributor that created the datapool. * * @return * possible object is * {@link Creator } * */ public Creator getCreator() { return creator; } /** * Sets the value of the creator property. * * @param value * allowed object is * {@link Creator } * */ public void setCreator(Creator value) { this.creator = value; } /** * [READ-ONLY] The contributor that owns the datapool. * * @return * possible object is * {@link Owner } * */ public Owner getOwner() { return owner; } /** * Sets the value of the owner property. * * @param value * allowed object is * {@link Owner } * */ public void setOwner(Owner value) { this.owner = value; } /** * Gets the value of the category 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 category property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCategory().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Datapool.Category } * * */ public List<Datapool.Category> getCategory() { if (category == null) { category = new ArrayList<Datapool.Category>(); } return this.category; } /** * Gets the value of the attachment property. * * @return * possible object is * {@link Datapool.Attachment } * */ public Datapool.Attachment getAttachment() { return attachment; } /** * Sets the value of the attachment property. * * @param value * allowed object is * {@link Datapool.Attachment } * */ public void setAttachment(Datapool.Attachment value) { this.attachment = value; } /** * Gets the value of the variables property. * * @return * possible object is * {@link Datapool.Variables } * */ public Datapool.Variables getVariables() { return variables; } /** * Sets the value of the variables property. * * @param value * allowed object is * {@link Datapool.Variables } * */ public void setVariables(Datapool.Variables value) { this.variables = value; } /** * <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="href" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Attachment { @XmlAttribute(required = true) protected String href; /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } } /** * <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="term" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="termUUID" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="valueUUID" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Category { @XmlAttribute protected String term; @XmlAttribute protected String value; @XmlAttribute protected String termUUID; @XmlAttribute protected String valueUUID; /** * Gets the value of the term property. * * @return * possible object is * {@link String } * */ public String getTerm() { return term; } /** * Sets the value of the term property. * * @param value * allowed object is * {@link String } * */ public void setTerm(String value) { this.term = 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 termUUID property. * * @return * possible object is * {@link String } * */ public String getTermUUID() { return termUUID; } /** * Sets the value of the termUUID property. * * @param value * allowed object is * {@link String } * */ public void setTermUUID(String value) { this.termUUID = value; } /** * Gets the value of the valueUUID property. * * @return * possible object is * {@link String } * */ public String getValueUUID() { return valueUUID; } /** * Sets the value of the valueUUID property. * * @param value * allowed object is * {@link String } * */ public void setValueUUID(String value) { this.valueUUID = value; } } /** * <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="variable" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="description"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}int" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "variable" }) public static class Variables { @XmlElement(required = true) protected List<Datapool.Variables.Variable> variable; /** * Gets the value of the variable 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 variable property. * * <p> * For example, to add a new item, do as follows: * <pre> * getVariable().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Datapool.Variables.Variable } * * */ public List<Datapool.Variables.Variable> getVariable() { if (variable == null) { variable = new ArrayList<Datapool.Variables.Variable>(); } return this.variable; } /** * <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="description"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </element> * </sequence> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="role" type="{http://www.w3.org/2001/XMLSchema}int" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "description" }) public static class Variable { @XmlElement(required = true) protected Datapool.Variables.Variable.Description description; @XmlAttribute protected String id; @XmlAttribute protected String name; @XmlAttribute protected String type; @XmlAttribute protected Integer role; /** * Gets the value of the description property. * * @return * possible object is * {@link Datapool.Variables.Variable.Description } * */ public Datapool.Variables.Variable.Description getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Datapool.Variables.Variable.Description } * */ public void setDescription(Datapool.Variables.Variable.Description value) { this.description = value; } /** * 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; } /** * 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 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 role property. * * @return * possible object is * {@link Integer } * */ public Integer getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link Integer } * */ public void setRole(Integer value) { this.role = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Description { @XmlValue protected String value; @XmlAttribute(required = true) protected String type; /** * 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 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; } } } } }