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

org.rhq.plugins.perftest.scenario.Resource Maven / Gradle / Ivy

The newest version!
//
// 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 resourceGenerator; @XmlElementRef(name = "pluginConfigurationGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class) protected JAXBElement pluginConfigurationGenerator; @XmlElementRef(name = "measurementGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class) protected JAXBElement measurementGenerator; @XmlElementRef(name = "traitGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class) protected JAXBElement traitGenerator; @XmlElementRef(name = "calltimeGenerator", namespace = "urn:xmlns:jboss.org:rhq-perftest", type = JAXBElement.class) protected JAXBElement 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 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 value) { this.resourceGenerator = ((JAXBElement ) 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 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 value) { this.pluginConfigurationGenerator = ((JAXBElement ) 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 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 value) { this.measurementGenerator = ((JAXBElement ) 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 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 value) { this.traitGenerator = ((JAXBElement ) 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 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 value) { this.calltimeGenerator = ((JAXBElement ) 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; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy