// // 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.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://jazz.net/xmlns/alm/v0.1/}state"/> * <element ref="{http://purl.org/dc/elements/1.1/}creator"/> * <element ref="{http://jazz.net/xmlns/alm/v0.1/}owner"/> * <element name="providerTypeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="buildrecord" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> * <attribute ref="{http://schema.ibm.com/vega/2008/}id"/> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "title", "description", "updated", "state", "creator", "owner", "providerTypeId", "status", "buildrecord" }) @XmlRootElement(name = "builddefinition") public class Builddefinition 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://jazz.net/xmlns/alm/v0.1/", required = true) protected State state; @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 String providerTypeId; protected String status; protected List<Builddefinition.Buildrecord> buildrecord; /** * A name given to the build definition. * * @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; } /** * An account of the build definition. * * @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 build definition. * * @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; } /** * An ID or name of the current state of the build definition. * * @return * possible object is * {@link State } * */ public State getState() { return state; } /** * Sets the value of the state property. * * @param value * allowed object is * {@link State } * */ public void setState(State value) { this.state = value; } /** * [READ-ONLY] [IMMUTABLE] The contributor that created the build definition. * * @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 build definition. * * @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 providerTypeId property. * * @return * possible object is * {@link String } * */ public String getProviderTypeId() { return providerTypeId; } /** * Sets the value of the providerTypeId property. * * @param value * allowed object is * {@link String } * */ public void setProviderTypeId(String value) { this.providerTypeId = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link String } * */ public String getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link String } * */ public void setStatus(String value) { this.status = value; } /** * Gets the value of the buildrecord 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 buildrecord property. * * <p> * For example, to add a new item, do as follows: * <pre> * getBuildrecord().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Builddefinition.Buildrecord } * * */ public List<Builddefinition.Buildrecord> getBuildrecord() { if (buildrecord == null) { buildrecord = new ArrayList<Builddefinition.Buildrecord>(); } return this.buildrecord; } /** * <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}anyURI" /> * <attribute ref="{http://schema.ibm.com/vega/2008/}id"/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Buildrecord { @XmlAttribute(required = true) @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(namespace = "http://schema.ibm.com/vega/2008/") protected String id; /** * 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; } /** * [READ-ONLY] UUID of the build record. * * @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; } } }