org.rhq.plugins.perftest.scenario
Class Resource

java.lang.Object
  extended by org.rhq.plugins.perftest.scenario.Resource

public class Resource
extends Object

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:on-perftest}resourceGenerator"/>
         <element ref="{urn:xmlns:jboss.org:on-perftest}pluginConfigurationGenerator" minOccurs="0"/>
         <element ref="{urn:xmlns:jboss.org:on-perftest}measurementGenerator" minOccurs="0"/>
         <element ref="{urn:xmlns:jboss.org:on-perftest}traitGenerator" minOccurs="0"/>
         <element ref="{urn:xmlns:jboss.org:on-perftest}calltimeGenerator" minOccurs="0"/>
         <element ref="{urn:xmlns:jboss.org:on-perftest}contentGenerator" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.bind.JAXBElement<? extends CalltimeGenerator> calltimeGenerator
           
protected  List<javax.xml.bind.JAXBElement<? extends ContentGenerator>> contentGenerator
           
protected  javax.xml.bind.JAXBElement<? extends MeasurementGenerator> measurementGenerator
           
protected  javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> pluginConfigurationGenerator
           
protected  javax.xml.bind.JAXBElement<? extends ResourceGenerator> resourceGenerator
           
protected  javax.xml.bind.JAXBElement<? extends TraitGenerator> traitGenerator
           
protected  String type
           
 
Constructor Summary
Resource()
           
 
Method Summary
 javax.xml.bind.JAXBElement<? extends CalltimeGenerator> getCalltimeGenerator()
          Gets the value of the calltimeGenerator property.
 List<javax.xml.bind.JAXBElement<? extends ContentGenerator>> getContentGenerator()
          Gets the value of the contentGenerator property.
 javax.xml.bind.JAXBElement<? extends MeasurementGenerator> getMeasurementGenerator()
          Gets the value of the measurementGenerator property.
 javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> getPluginConfigurationGenerator()
          Gets the value of the pluginConfigurationGenerator property.
 javax.xml.bind.JAXBElement<? extends ResourceGenerator> getResourceGenerator()
          Gets the value of the resourceGenerator property.
 javax.xml.bind.JAXBElement<? extends TraitGenerator> getTraitGenerator()
          Gets the value of the traitGenerator property.
 String getType()
          Gets the value of the type property.
 void setCalltimeGenerator(javax.xml.bind.JAXBElement<? extends CalltimeGenerator> value)
          Sets the value of the calltimeGenerator property.
 void setMeasurementGenerator(javax.xml.bind.JAXBElement<? extends MeasurementGenerator> value)
          Sets the value of the measurementGenerator property.
 void setPluginConfigurationGenerator(javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> value)
          Sets the value of the pluginConfigurationGenerator property.
 void setResourceGenerator(javax.xml.bind.JAXBElement<? extends ResourceGenerator> value)
          Sets the value of the resourceGenerator property.
 void setTraitGenerator(javax.xml.bind.JAXBElement<? extends TraitGenerator> value)
          Sets the value of the traitGenerator property.
 void setType(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceGenerator

protected javax.xml.bind.JAXBElement<? extends ResourceGenerator> resourceGenerator

pluginConfigurationGenerator

protected javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> pluginConfigurationGenerator

measurementGenerator

protected javax.xml.bind.JAXBElement<? extends MeasurementGenerator> measurementGenerator

traitGenerator

protected javax.xml.bind.JAXBElement<? extends TraitGenerator> traitGenerator

calltimeGenerator

protected javax.xml.bind.JAXBElement<? extends CalltimeGenerator> calltimeGenerator

contentGenerator

protected List<javax.xml.bind.JAXBElement<? extends ContentGenerator>> contentGenerator

type

protected String type
Constructor Detail

Resource

public Resource()
Method Detail

getResourceGenerator

public javax.xml.bind.JAXBElement<? extends ResourceGenerator> getResourceGenerator()
Gets the value of the resourceGenerator property.

Returns:
possible object is JAXBElement<SimpleResourceGenerator> JAXBElement<ResourceGenerator>

setResourceGenerator

public void setResourceGenerator(javax.xml.bind.JAXBElement<? extends ResourceGenerator> value)
Sets the value of the resourceGenerator property.

Parameters:
value - allowed object is JAXBElement<SimpleResourceGenerator> JAXBElement<ResourceGenerator>

getPluginConfigurationGenerator

public javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> getPluginConfigurationGenerator()
Gets the value of the pluginConfigurationGenerator property.

Returns:
possible object is JAXBElement<SimpleConfigurationGenerator> JAXBElement<ConfigurationGenerator>

setPluginConfigurationGenerator

public void setPluginConfigurationGenerator(javax.xml.bind.JAXBElement<? extends ConfigurationGenerator> value)
Sets the value of the pluginConfigurationGenerator property.

Parameters:
value - allowed object is JAXBElement<SimpleConfigurationGenerator> JAXBElement<ConfigurationGenerator>

getMeasurementGenerator

public javax.xml.bind.JAXBElement<? extends MeasurementGenerator> getMeasurementGenerator()
Gets the value of the measurementGenerator property.

Returns:
possible object is JAXBElement<SimpleNumericMeasurementGenerator> JAXBElement<MeasurementGenerator> JAXBElement<OOBNumericMeasurementGenerator>

setMeasurementGenerator

public void setMeasurementGenerator(javax.xml.bind.JAXBElement<? extends MeasurementGenerator> value)
Sets the value of the measurementGenerator property.

Parameters:
value - allowed object is JAXBElement<SimpleNumericMeasurementGenerator> JAXBElement<MeasurementGenerator> JAXBElement<OOBNumericMeasurementGenerator>

getTraitGenerator

public javax.xml.bind.JAXBElement<? extends TraitGenerator> getTraitGenerator()
Gets the value of the traitGenerator property.

Returns:
possible object is JAXBElement<TraitGenerator> JAXBElement<SimpleTraitMeasurementGenerator>

setTraitGenerator

public void setTraitGenerator(javax.xml.bind.JAXBElement<? extends TraitGenerator> value)
Sets the value of the traitGenerator property.

Parameters:
value - allowed object is JAXBElement<TraitGenerator> JAXBElement<SimpleTraitMeasurementGenerator>

getCalltimeGenerator

public javax.xml.bind.JAXBElement<? extends CalltimeGenerator> getCalltimeGenerator()
Gets the value of the calltimeGenerator property.

Returns:
possible object is JAXBElement<ConfigurableCallTimeDataGenerator> JAXBElement<CalltimeGenerator> JAXBElement<SimpleCallTimeDataGenerator>

setCalltimeGenerator

public void setCalltimeGenerator(javax.xml.bind.JAXBElement<? extends CalltimeGenerator> value)
Sets the value of the calltimeGenerator property.

Parameters:
value - allowed object is JAXBElement<ConfigurableCallTimeDataGenerator> JAXBElement<CalltimeGenerator> JAXBElement<SimpleCallTimeDataGenerator>

getContentGenerator

public List<javax.xml.bind.JAXBElement<? extends ContentGenerator>> getContentGenerator()
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 JAXBElement<SimpleContentGenerator> JAXBElement<ContentGenerator>


getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.