All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.rqm.xml.bind.ExecutionScriptStep Maven / Gradle / Ivy

There is a newer version: 1.6.0-BETA2
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// See http://java.sun.com/xml/jaxb 
// 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;


/**
 * A step of a manual test script.
 * 
 * 

Java class for step element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="step">
 *   <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 name="description" type="{http://jazz.net/xmlns/alm/qm/v0.1/}richtext"/>
 *           <element name="expectedResult" type="{http://jazz.net/xmlns/alm/qm/v0.1/}richtext" minOccurs="0"/>
 *           <element name="testscript">
 *             <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>
 *           <element ref="{http://jazz.net/xmlns/alm/v0.1/}updated"/>
 *           <element name="position" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *           <element name="attachment" 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}string" />
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *           <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *           <element name="link" 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}string" />
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *           <element name="requirement" 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 name="summary" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 </restriction>
 *               </complexContent>
 *             </complexType>
 *           </element>
 *         </sequence>
 *         <attribute name="stepIndex" type="{http://www.w3.org/2001/XMLSchema}int" />
 *         <attribute ref="{http://purl.org/dc/terms/}type"/>
 *         <attribute ref="{http://www.w3.org/1999/02/22-rdf-syntax-ns#}about"/>
 *       </extension>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "title", "description", "expectedResult", "testscript", "updated", "position", "attachment", "comment", "link", "requirement" }) @XmlRootElement(name = "step") public class ExecutionScriptStep extends ReportableArtifact { @XmlElement(namespace = "http://purl.org/dc/elements/1.1/", required = true) protected String title; @XmlElement(required = true) protected Richtext description; protected Richtext expectedResult; @XmlElement(required = true) protected ExecutionScriptStep.Testscript testscript; @XmlElement(namespace = "http://jazz.net/xmlns/alm/v0.1/", required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar updated; protected int position; protected List attachment; protected String comment; protected ExecutionScriptStep.Link link; protected List requirement; @XmlAttribute protected Integer stepIndex; @XmlAttribute(namespace = "http://purl.org/dc/terms/") protected String type; @XmlAttribute(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#") @XmlSchemaType(name = "anyURI") protected String about; /** * [READ-ONLY]A name given to the step. * * @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; } /** * Gets the value of the description property. * * @return * possible object is * {@link Richtext } * */ public Richtext getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link Richtext } * */ public void setDescription(Richtext value) { this.description = value; } /** * Gets the value of the expectedResult property. * * @return * possible object is * {@link Richtext } * */ public Richtext getExpectedResult() { return expectedResult; } /** * Sets the value of the expectedResult property. * * @param value * allowed object is * {@link Richtext } * */ public void setExpectedResult(Richtext value) { this.expectedResult = value; } /** * Gets the value of the testscript property. * * @return * possible object is * {@link ExecutionScriptStep.Testscript } * */ public ExecutionScriptStep.Testscript getTestscript() { return testscript; } /** * Sets the value of the testscript property. * * @param value * allowed object is * {@link ExecutionScriptStep.Testscript } * */ public void setTestscript(ExecutionScriptStep.Testscript value) { this.testscript = value; } /** * [READ-ONLY] The last modification date of a resource. Format is XML dateTime. * * @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; } /** * Gets the value of the position property. * */ public int getPosition() { return position; } /** * Sets the value of the position property. * */ public void setPosition(int value) { this.position = value; } /** * Gets the value of the attachment property. * *

* 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 set method for the attachment property. * *

* For example, to add a new item, do as follows: *

     *    getAttachment().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ExecutionScriptStep.Attachment } * * */ public List getAttachment() { if (attachment == null) { attachment = new ArrayList(); } return this.attachment; } /** * 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; } /** * Gets the value of the link property. * * @return * possible object is * {@link ExecutionScriptStep.Link } * */ public ExecutionScriptStep.Link getLink() { return link; } /** * Sets the value of the link property. * * @param value * allowed object is * {@link ExecutionScriptStep.Link } * */ public void setLink(ExecutionScriptStep.Link value) { this.link = value; } /** * Gets the value of the requirement property. * *

* 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 set method for the requirement property. * *

* For example, to add a new item, do as follows: *

     *    getRequirement().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ExecutionScriptStep.Requirement } * * */ public List getRequirement() { if (requirement == null) { requirement = new ArrayList(); } return this.requirement; } /** * Gets the value of the stepIndex property. * * @return * possible object is * {@link Integer } * */ public Integer getStepIndex() { return stepIndex; } /** * Sets the value of the stepIndex property. * * @param value * allowed object is * {@link Integer } * */ public void setStepIndex(Integer value) { this.stepIndex = value; } /** * [READ-ONLY]The type of step. Will be either "execution" or "reporting". * * @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; } /** * The URL of the step. * * @return * possible object is * {@link String } * */ public String getAbout() { return about; } /** * Sets the value of the about property. * * @param value * allowed object is * {@link String } * */ public void setAbout(String value) { this.about = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @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; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Link { @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; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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 name="summary" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Requirement { @XmlAttribute(required = true) @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute protected String summary; /** * 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; } /** * Gets the value of the summary property. * * @return * possible object is * {@link String } * */ public String getSummary() { return summary; } /** * Sets the value of the summary property. * * @param value * allowed object is * {@link String } * */ public void setSummary(String value) { this.summary = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Testscript { @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; } /** * [DEPRECATED] [READ-ONLY] * * @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; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy