org.tap4j.ext.jmeter.model.Sample Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.05.19 at 08:25:57 PM NZST
//
package org.tap4j.ext.jmeter.model;
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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Sample complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Sample">
* <complexContent>
* <extension base="{}AbstractSample">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="httpSample" type="{}HttpSample"/>
* <element name="sample" type="{}Sample"/>
* </choice>
* <element name="responseHeader" type="{}TextEl" minOccurs="0"/>
* <element name="requestHeader" type="{}TextEl" minOccurs="0"/>
* <element name="responseData" type="{}TextEl" minOccurs="0"/>
* <element name="responseFile" type="{}TextEl" minOccurs="0"/>
* <element name="samplerData" type="{}TextEl" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Sample", propOrder = {
"httpSampleOrSample",
"responseHeader",
"requestHeader",
"responseData",
"responseFile",
"samplerData"
})
public class Sample
extends AbstractSample
{
@XmlElements({
@XmlElement(name = "httpSample", type = HttpSample.class),
@XmlElement(name = "sample", type = Sample.class)
})
protected List httpSampleOrSample;
protected TextEl responseHeader;
protected TextEl requestHeader;
protected TextEl responseData;
protected TextEl responseFile;
protected TextEl samplerData;
/**
* Gets the value of the httpSampleOrSample 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 httpSampleOrSample property.
*
*
* For example, to add a new item, do as follows:
*
* getHttpSampleOrSample().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HttpSample }
* {@link Sample }
*
*
*/
public List getHttpSampleOrSample() {
if (httpSampleOrSample == null) {
httpSampleOrSample = new ArrayList();
}
return this.httpSampleOrSample;
}
/**
* Gets the value of the responseHeader property.
*
* @return
* possible object is
* {@link TextEl }
*
*/
public TextEl getResponseHeader() {
return responseHeader;
}
/**
* Sets the value of the responseHeader property.
*
* @param value
* allowed object is
* {@link TextEl }
*
*/
public void setResponseHeader(TextEl value) {
this.responseHeader = value;
}
/**
* Gets the value of the requestHeader property.
*
* @return
* possible object is
* {@link TextEl }
*
*/
public TextEl getRequestHeader() {
return requestHeader;
}
/**
* Sets the value of the requestHeader property.
*
* @param value
* allowed object is
* {@link TextEl }
*
*/
public void setRequestHeader(TextEl value) {
this.requestHeader = value;
}
/**
* Gets the value of the responseData property.
*
* @return
* possible object is
* {@link TextEl }
*
*/
public TextEl getResponseData() {
return responseData;
}
/**
* Sets the value of the responseData property.
*
* @param value
* allowed object is
* {@link TextEl }
*
*/
public void setResponseData(TextEl value) {
this.responseData = value;
}
/**
* Gets the value of the responseFile property.
*
* @return
* possible object is
* {@link TextEl }
*
*/
public TextEl getResponseFile() {
return responseFile;
}
/**
* Sets the value of the responseFile property.
*
* @param value
* allowed object is
* {@link TextEl }
*
*/
public void setResponseFile(TextEl value) {
this.responseFile = value;
}
/**
* Gets the value of the samplerData property.
*
* @return
* possible object is
* {@link TextEl }
*
*/
public TextEl getSamplerData() {
return samplerData;
}
/**
* Sets the value of the samplerData property.
*
* @param value
* allowed object is
* {@link TextEl }
*
*/
public void setSamplerData(TextEl value) {
this.samplerData = value;
}
}