// // 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> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="approvalDescriptor" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="approvalType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="approvalDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="approvalStateChangedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="archived" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="approval" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="approvalOwner" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/> * </restriction> * </complexContent> * </complexType> * </element> * <element name="approvalStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="approvalStateChangedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element ref="{http://jazz.net/xmlns/alm/qm/v0.1/}approvalComment" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element ref="{http://jazz.net/xmlns/alm/qm/v0.1/}approvalComment" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "approvalDescriptor", "approvalComment" }) @XmlRootElement(name = "approvals") public class Approvals { @XmlElement(required = true) protected List<Approvals.ApprovalDescriptor> approvalDescriptor; protected List<ApprovalComment> approvalComment; /** * Gets the value of the approvalDescriptor 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 approvalDescriptor property. * * <p> * For example, to add a new item, do as follows: * <pre> * getApprovalDescriptor().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Approvals.ApprovalDescriptor } * * */ public List<Approvals.ApprovalDescriptor> getApprovalDescriptor() { if (approvalDescriptor == null) { approvalDescriptor = new ArrayList<Approvals.ApprovalDescriptor>(); } return this.approvalDescriptor; } /** * Gets the value of the approvalComment 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 approvalComment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getApprovalComment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ApprovalComment } * * */ public List<ApprovalComment> getApprovalComment() { if (approvalComment == null) { approvalComment = new ArrayList<ApprovalComment>(); } return this.approvalComment; } /** * <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="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="approvalType" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="approvalDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="approvalStateChangedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="archived" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="approval" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="approvalOwner" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/> * </restriction> * </complexContent> * </complexType> * </element> * <element name="approvalStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="approvalStateChangedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element ref="{http://jazz.net/xmlns/alm/qm/v0.1/}approvalComment" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "id", "name", "approvalType", "approvalDate", "approvalStateChangedDate", "archived", "approval", "approvalComment" }) public static class ApprovalDescriptor { protected Integer id; protected String name; @XmlElement(required = true) protected String approvalType; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar approvalDate; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar approvalStateChangedDate; protected Boolean archived; protected List<Approvals.ApprovalDescriptor.Approval> approval; protected List<ApprovalComment> approvalComment; /** * Gets the value of the id property. * * @return * possible object is * {@link Integer } * */ public Integer getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Integer } * */ public void setId(Integer 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 approvalType property. * * @return * possible object is * {@link String } * */ public String getApprovalType() { return approvalType; } /** * Sets the value of the approvalType property. * * @param value * allowed object is * {@link String } * */ public void setApprovalType(String value) { this.approvalType = value; } /** * Gets the value of the approvalDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getApprovalDate() { return approvalDate; } /** * Sets the value of the approvalDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setApprovalDate(XMLGregorianCalendar value) { this.approvalDate = value; } /** * Gets the value of the approvalStateChangedDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getApprovalStateChangedDate() { return approvalStateChangedDate; } /** * Sets the value of the approvalStateChangedDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setApprovalStateChangedDate(XMLGregorianCalendar value) { this.approvalStateChangedDate = value; } /** * Gets the value of the archived property. * * @return * possible object is * {@link Boolean } * */ public Boolean isArchived() { return archived; } /** * Sets the value of the archived property. * * @param value * allowed object is * {@link Boolean } * */ public void setArchived(Boolean value) { this.archived = value; } /** * Gets the value of the approval 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 approval property. * * <p> * For example, to add a new item, do as follows: * <pre> * getApproval().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Approvals.ApprovalDescriptor.Approval } * * */ public List<Approvals.ApprovalDescriptor.Approval> getApproval() { if (approval == null) { approval = new ArrayList<Approvals.ApprovalDescriptor.Approval>(); } return this.approval; } /** * Gets the value of the approvalComment 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 approvalComment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getApprovalComment().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ApprovalComment } * * */ public List<ApprovalComment> getApprovalComment() { if (approvalComment == null) { approvalComment = new ArrayList<ApprovalComment>(); } return this.approvalComment; } /** * <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="approvalOwner" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/> * </restriction> * </complexContent> * </complexType> * </element> * <element name="approvalStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="approvalStateChangedDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "approvalOwner", "approvalStatus", "approvalStateChangedDate", "comment" }) public static class Approval { protected Approvals.ApprovalDescriptor.Approval.ApprovalOwner approvalOwner; protected String approvalStatus; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar approvalStateChangedDate; protected String comment; /** * Gets the value of the approvalOwner property. * * @return * possible object is * {@link Approvals.ApprovalDescriptor.Approval.ApprovalOwner } * */ public Approvals.ApprovalDescriptor.Approval.ApprovalOwner getApprovalOwner() { return approvalOwner; } /** * Sets the value of the approvalOwner property. * * @param value * allowed object is * {@link Approvals.ApprovalDescriptor.Approval.ApprovalOwner } * */ public void setApprovalOwner(Approvals.ApprovalDescriptor.Approval.ApprovalOwner value) { this.approvalOwner = value; } /** * Gets the value of the approvalStatus property. * * @return * possible object is * {@link String } * */ public String getApprovalStatus() { return approvalStatus; } /** * Sets the value of the approvalStatus property. * * @param value * allowed object is * {@link String } * */ public void setApprovalStatus(String value) { this.approvalStatus = value; } /** * Gets the value of the approvalStateChangedDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getApprovalStateChangedDate() { return approvalStateChangedDate; } /** * Sets the value of the approvalStateChangedDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setApprovalStateChangedDate(XMLGregorianCalendar value) { this.approvalStateChangedDate = value; } /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * The Jazz Team Server (JTS) user ID of the contributor that owns an approval. * * <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 ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}resource"/> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "content" }) public static class ApprovalOwner { @XmlValue protected String content; @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#") @XmlSchemaType(name = "anyURI") protected String resource; /** * The Jazz Team Server (JTS) user ID of the contributor that owns an approval. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * [READ-ONLY] The Jazz Team Server (JTS) URL of the contributor that owns an approval. * * @return * possible object is * {@link String } * */ public String getResource() { return resource; } /** * Sets the value of the resource property. * * @param value * allowed object is * {@link String } * */ public void setResource(String value) { this.resource = value; } } } } }