
org.rhq.plugins.perftest.scenario.Resource Maven / Gradle / Ivy
Show all versions of rhq-perftest-plugin Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.12.02 at 06:01:06 PM EST
//
package org.rhq.plugins.perftest.scenario;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for resource complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="resource">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}resourceGenerator"/>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}pluginConfigurationGenerator" minOccurs="0"/>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}measurementGenerator" minOccurs="0"/>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}traitGenerator" minOccurs="0"/>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}calltimeGenerator" minOccurs="0"/>
* <element ref="{urn:xmlns:jboss.org:rhq-perftest}contentGenerator" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "resource", propOrder = {
"resourceGenerator",
"pluginConfigurationGenerator",
"measurementGenerator",
"traitGenerator",
"calltimeGenerator",
"contentGenerator"
})
public class Resource {
@XmlElementRef(name = "resourceGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected JAXBElement extends ResourceGenerator> resourceGenerator;
@XmlElementRef(name = "pluginConfigurationGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected JAXBElement extends ConfigurationGenerator> pluginConfigurationGenerator;
@XmlElementRef(name = "measurementGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected JAXBElement extends MeasurementGenerator> measurementGenerator;
@XmlElementRef(name = "traitGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected JAXBElement extends TraitGenerator> traitGenerator;
@XmlElementRef(name = "calltimeGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected JAXBElement extends CalltimeGenerator> calltimeGenerator;
@XmlElementRef(name = "contentGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class)
protected List> contentGenerator;
@XmlAttribute(required = true)
protected String type;
/**
* Gets the value of the resourceGenerator property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SimpleResourceGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link ResourceGenerator }{@code >}
*
*/
public JAXBElement extends ResourceGenerator> getResourceGenerator() {
return resourceGenerator;
}
/**
* Sets the value of the resourceGenerator property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SimpleResourceGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link ResourceGenerator }{@code >}
*
*/
public void setResourceGenerator(JAXBElement extends ResourceGenerator> value) {
this.resourceGenerator = ((JAXBElement extends ResourceGenerator> ) value);
}
/**
* Gets the value of the pluginConfigurationGenerator property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link ConfigurationGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleConfigurationGenerator }{@code >}
*
*/
public JAXBElement extends ConfigurationGenerator> getPluginConfigurationGenerator() {
return pluginConfigurationGenerator;
}
/**
* Sets the value of the pluginConfigurationGenerator property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link ConfigurationGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleConfigurationGenerator }{@code >}
*
*/
public void setPluginConfigurationGenerator(JAXBElement extends ConfigurationGenerator> value) {
this.pluginConfigurationGenerator = ((JAXBElement extends ConfigurationGenerator> ) value);
}
/**
* Gets the value of the measurementGenerator property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link OOBNumericMeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link MeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleNumericMeasurementGenerator }{@code >}
*
*/
public JAXBElement extends MeasurementGenerator> getMeasurementGenerator() {
return measurementGenerator;
}
/**
* Sets the value of the measurementGenerator property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link OOBNumericMeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link MeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleNumericMeasurementGenerator }{@code >}
*
*/
public void setMeasurementGenerator(JAXBElement extends MeasurementGenerator> value) {
this.measurementGenerator = ((JAXBElement extends MeasurementGenerator> ) value);
}
/**
* Gets the value of the traitGenerator property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SimpleTraitMeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link TraitGenerator }{@code >}
*
*/
public JAXBElement extends TraitGenerator> getTraitGenerator() {
return traitGenerator;
}
/**
* Sets the value of the traitGenerator property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SimpleTraitMeasurementGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link TraitGenerator }{@code >}
*
*/
public void setTraitGenerator(JAXBElement extends TraitGenerator> value) {
this.traitGenerator = ((JAXBElement extends TraitGenerator> ) value);
}
/**
* Gets the value of the calltimeGenerator property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link CalltimeGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleCallTimeDataGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link ConfigurableCallTimeDataGenerator }{@code >}
*
*/
public JAXBElement extends CalltimeGenerator> getCalltimeGenerator() {
return calltimeGenerator;
}
/**
* Sets the value of the calltimeGenerator property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link CalltimeGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleCallTimeDataGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link ConfigurableCallTimeDataGenerator }{@code >}
*
*/
public void setCalltimeGenerator(JAXBElement extends CalltimeGenerator> value) {
this.calltimeGenerator = ((JAXBElement extends CalltimeGenerator> ) value);
}
/**
* Gets the value of the contentGenerator 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 contentGenerator property.
*
*
* For example, to add a new item, do as follows:
*
* getContentGenerator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link ContentGenerator }{@code >}
* {@link JAXBElement }{@code <}{@link SimpleContentGenerator }{@code >}
*
*
*/
public List> getContentGenerator() {
if (contentGenerator == null) {
contentGenerator = new ArrayList>();
}
return this.contentGenerator;
}
/**
* 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;
}
}