com.pushtotest.tool.xml.TXLog
Interface TransactionType

All Known Subinterfaces:
Transaction
All Known Implementing Classes:
TransactionImpl, TransactionTypeImpl

public interface TransactionType

Contains the transaction result data. One element per complete transaction during the test time. Attributes are: name: contains the name of the thread. cvus: contains the number of concurrent users. duration: contains the duration of the test in minutes. timestamp: contains the time stamp of the tx finish. error: Error message, if exists. totaltime: contains the duration of the tx in ms. result: true if the tx worked fine, false otherwise. Java content class for transaction_type complex type.

The following schema fragment specifies the expected content contained within this java content object. (defined at file:/Users/frankcohen/dev/cvs/tm_newer/tm5/tool/src/com/pushtotest/tool/xml/TXLog.xsd line 85)

 <complexType name="transaction_type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="step" type="{}step_type" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="cvus" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="error" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="nodename" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="result" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="sequence" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="threadid" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="timestamp" type="{http://www.w3.org/2001/XMLSchema}long" />
       <attribute name="totaltime" type="{http://www.w3.org/2001/XMLSchema}long" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 int getCvus()
          Gets the value of the cvus property.
 int getDuration()
          Gets the value of the duration property.
 java.lang.String getError()
          Gets the value of the error property.
 java.lang.String getNodename()
          Gets the value of the nodename property.
 java.lang.String getSequence()
          Gets the value of the sequence property.
 java.util.List getStep()
          Gets the value of the Step property.
 int getThreadid()
          Gets the value of the threadid property.
 long getTimestamp()
          Gets the value of the timestamp property.
 long getTotaltime()
          Gets the value of the totaltime property.
 boolean isResult()
          Gets the value of the result property.
 void setCvus(int value)
          Sets the value of the cvus property.
 void setDuration(int value)
          Sets the value of the duration property.
 void setError(java.lang.String value)
          Sets the value of the error property.
 void setNodename(java.lang.String value)
          Sets the value of the nodename property.
 void setResult(boolean value)
          Sets the value of the result property.
 void setSequence(java.lang.String value)
          Sets the value of the sequence property.
 void setThreadid(int value)
          Sets the value of the threadid property.
 void setTimestamp(long value)
          Sets the value of the timestamp property.
 void setTotaltime(long value)
          Sets the value of the totaltime property.
 

Method Detail

getStep

java.util.List getStep()
Gets the value of the Step 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 Step property.

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

    getStep().add(newItem);
 

Objects of the following type(s) are allowed in the list StepType


getSequence

java.lang.String getSequence()
Gets the value of the sequence property.

Returns:
possible object is String

setSequence

void setSequence(java.lang.String value)
Sets the value of the sequence property.

Parameters:
value - allowed object is String

isResult

boolean isResult()
Gets the value of the result property.


setResult

void setResult(boolean value)
Sets the value of the result property.


getCvus

int getCvus()
Gets the value of the cvus property.


setCvus

void setCvus(int value)
Sets the value of the cvus property.


getTotaltime

long getTotaltime()
Gets the value of the totaltime property.


setTotaltime

void setTotaltime(long value)
Sets the value of the totaltime property.


getError

java.lang.String getError()
Gets the value of the error property.

Returns:
possible object is String

setError

void setError(java.lang.String value)
Sets the value of the error property.

Parameters:
value - allowed object is String

getThreadid

int getThreadid()
Gets the value of the threadid property.


setThreadid

void setThreadid(int value)
Sets the value of the threadid property.


getNodename

java.lang.String getNodename()
Gets the value of the nodename property.

Returns:
possible object is String

setNodename

void setNodename(java.lang.String value)
Sets the value of the nodename property.

Parameters:
value - allowed object is String

getDuration

int getDuration()
Gets the value of the duration property.


setDuration

void setDuration(int value)
Sets the value of the duration property.


getTimestamp

long getTimestamp()
Gets the value of the timestamp property.


setTimestamp

void setTimestamp(long value)
Sets the value of the timestamp property.