org.eclipse.etrice.etunit.converter.Etunit
Interface Testsuite

All Known Subinterfaces:
TestsuiteType
All Known Implementing Classes:
TestsuiteImpl, TestsuiteTypeImpl

public interface Testsuite

A representation of the model object 'Testsuite'.

The following features are supported:

See Also:
EtunitPackage.getTestsuite()
EMF generated code
EMF model element
extendedMetaData="name='testsuite' kind='elementOnly'"

Method Summary
 int getErrors()
          Returns the value of the 'Errors' attribute.
 int getFailures()
          Returns the value of the 'Failures' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 int getSkipped()
          Returns the value of the 'Skipped' attribute.
  getTestcase()
          Returns the value of the 'Testcase' containment reference list.
 int getTests()
          Returns the value of the 'Tests' attribute.
 java.math.BigDecimal getTime()
          Returns the value of the 'Time' attribute.
 javax.xml.datatype.XMLGregorianCalendar getTimestamp()
          Returns the value of the 'Timestamp' attribute.
 boolean isSetErrors()
          Returns whether the value of the 'Errors' attribute is set.
 boolean isSetFailures()
          Returns whether the value of the 'Failures' attribute is set.
 boolean isSetSkipped()
          Returns whether the value of the 'Skipped' attribute is set.
 boolean isSetTests()
          Returns whether the value of the 'Tests' attribute is set.
 void setErrors(int value)
          Sets the value of the 'Errors' attribute.
 void setFailures(int value)
          Sets the value of the 'Failures' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setSkipped(int value)
          Sets the value of the 'Skipped' attribute.
 void setTests(int value)
          Sets the value of the 'Tests' attribute.
 void setTime(java.math.BigDecimal value)
          Sets the value of the 'Time' attribute.
 void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the 'Timestamp' attribute.
 void unsetErrors()
          Unsets the value of the 'Errors' attribute.
 void unsetFailures()
          Unsets the value of the 'Failures' attribute.
 void unsetSkipped()
          Unsets the value of the 'Skipped' attribute.
 void unsetTests()
          Unsets the value of the 'Tests' attribute.
 

Method Detail

getTestcase

 getTestcase()
Returns the value of the 'Testcase' containment reference list. The list contents are of type TestcaseType.

If the meaning of the 'Testcase' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Testcase' containment reference list.
See Also:
EtunitPackage.getTestsuite_Testcase()
EMF generated code
EMF model element
containment="true" extendedMetaData="kind='element' name='testcase' namespace='##targetNamespace'"

getErrors

int getErrors()
Returns the value of the 'Errors' attribute.

Returns:
the value of the 'Errors' attribute.
See Also:
isSetErrors(), unsetErrors(), setErrors(int), EtunitPackage.getTestsuite_Errors()
EMF generated code
EMF model element
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" required="true" extendedMetaData="kind='attribute' name='errors' namespace='##targetNamespace'"

setErrors

void setErrors(int value)
Sets the value of the 'Errors' attribute.

Parameters:
value - the new value of the 'Errors' attribute.
See Also:
isSetErrors(), unsetErrors(), getErrors()
EMF generated code

unsetErrors

void unsetErrors()
Unsets the value of the 'Errors' attribute.

See Also:
isSetErrors(), getErrors(), setErrors(int)
EMF generated code

isSetErrors

boolean isSetErrors()
Returns whether the value of the 'Errors' attribute is set.

Returns:
whether the value of the 'Errors' attribute is set.
See Also:
unsetErrors(), getErrors(), setErrors(int)
EMF generated code

getFailures

int getFailures()
Returns the value of the 'Failures' attribute.

Returns:
the value of the 'Failures' attribute.
See Also:
isSetFailures(), unsetFailures(), setFailures(int), EtunitPackage.getTestsuite_Failures()
EMF generated code
EMF model element
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" required="true" extendedMetaData="kind='attribute' name='failures' namespace='##targetNamespace'"

setFailures

void setFailures(int value)
Sets the value of the 'Failures' attribute.

Parameters:
value - the new value of the 'Failures' attribute.
See Also:
isSetFailures(), unsetFailures(), getFailures()
EMF generated code

unsetFailures

void unsetFailures()
Unsets the value of the 'Failures' attribute.

See Also:
isSetFailures(), getFailures(), setFailures(int)
EMF generated code

isSetFailures

boolean isSetFailures()
Returns whether the value of the 'Failures' attribute is set.

Returns:
whether the value of the 'Failures' attribute is set.
See Also:
unsetFailures(), getFailures(), setFailures(int)
EMF generated code

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), EtunitPackage.getTestsuite_Name()
EMF generated code
EMF model element
dataType="org.eclipse.etrice.etunit.converter.Etunit.NameType" required="true" extendedMetaData="kind='attribute' name='name' namespace='##targetNamespace'"

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
EMF generated code

getSkipped

int getSkipped()
Returns the value of the 'Skipped' attribute.

Returns:
the value of the 'Skipped' attribute.
See Also:
isSetSkipped(), unsetSkipped(), setSkipped(int), EtunitPackage.getTestsuite_Skipped()
EMF generated code
EMF model element
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" extendedMetaData="kind='attribute' name='skipped' namespace='##targetNamespace'"

setSkipped

void setSkipped(int value)
Sets the value of the 'Skipped' attribute.

Parameters:
value - the new value of the 'Skipped' attribute.
See Also:
isSetSkipped(), unsetSkipped(), getSkipped()
EMF generated code

unsetSkipped

void unsetSkipped()
Unsets the value of the 'Skipped' attribute.

See Also:
isSetSkipped(), getSkipped(), setSkipped(int)
EMF generated code

isSetSkipped

boolean isSetSkipped()
Returns whether the value of the 'Skipped' attribute is set.

Returns:
whether the value of the 'Skipped' attribute is set.
See Also:
unsetSkipped(), getSkipped(), setSkipped(int)
EMF generated code

getTests

int getTests()
Returns the value of the 'Tests' attribute.

Returns:
the value of the 'Tests' attribute.
See Also:
isSetTests(), unsetTests(), setTests(int), EtunitPackage.getTestsuite_Tests()
EMF generated code
EMF model element
unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int" required="true" extendedMetaData="kind='attribute' name='tests' namespace='##targetNamespace'"

setTests

void setTests(int value)
Sets the value of the 'Tests' attribute.

Parameters:
value - the new value of the 'Tests' attribute.
See Also:
isSetTests(), unsetTests(), getTests()
EMF generated code

unsetTests

void unsetTests()
Unsets the value of the 'Tests' attribute.

See Also:
isSetTests(), getTests(), setTests(int)
EMF generated code

isSetTests

boolean isSetTests()
Returns whether the value of the 'Tests' attribute is set.

Returns:
whether the value of the 'Tests' attribute is set.
See Also:
unsetTests(), getTests(), setTests(int)
EMF generated code

getTime

java.math.BigDecimal getTime()
Returns the value of the 'Time' attribute.

Returns:
the value of the 'Time' attribute.
See Also:
setTime(BigDecimal), EtunitPackage.getTestsuite_Time()
EMF generated code
EMF model element
dataType="org.eclipse.emf.ecore.xml.type.Decimal" required="true" extendedMetaData="kind='attribute' name='time' namespace='##targetNamespace'"

setTime

void setTime(java.math.BigDecimal value)
Sets the value of the 'Time' attribute.

Parameters:
value - the new value of the 'Time' attribute.
See Also:
getTime()
EMF generated code

getTimestamp

javax.xml.datatype.XMLGregorianCalendar getTimestamp()
Returns the value of the 'Timestamp' attribute.

Returns:
the value of the 'Timestamp' attribute.
See Also:
setTimestamp(XMLGregorianCalendar), EtunitPackage.getTestsuite_Timestamp()
EMF generated code
EMF model element
dataType="org.eclipse.etrice.etunit.converter.Etunit.ISO8601DATETIMEPATTERN" required="true" extendedMetaData="kind='attribute' name='timestamp' namespace='##targetNamespace'"

setTimestamp

void setTimestamp(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the 'Timestamp' attribute.

Parameters:
value - the new value of the 'Timestamp' attribute.
See Also:
getTimestamp()
EMF generated code