de.oio.bugkilla.protocol
Class TestSeries

java.lang.Object
  |
  +--de.oio.bugkilla.protocol.TestSpecification
        |
        +--de.oio.bugkilla.protocol.ComplexTestSpecification
              |
              +--de.oio.bugkilla.protocol.TestSeries
All Implemented Interfaces:
java.io.Serializable

public class TestSeries
extends ComplexTestSpecification
implements java.io.Serializable

Represent one TestSeries with one or more Scenario(s)

See Also:
Scenario, Serialized Form

Constructor Summary
TestSeries()
           
 
Method Summary
 boolean add(Scenario scenarios)
          Returns the number of Scenario elements in this series.
 boolean contains(Scenario scenarios)
          Returns true if this series contains the specified Scenario element.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getQualifiedName()
          Returns the qualifiedName.
 Scenario next()
          Returns the next Scenario element in the iteration.
 boolean remove(Scenario scenarios)
          Removes the first occurrence of the specified Scenario element in this series.
 void setDescription(java.lang.String description)
          Sets the description.
 void setQualifiedName(java.lang.String qualifiedName)
          Sets the qualifiedName.
 
Methods inherited from class de.oio.bugkilla.protocol.ComplexTestSpecification
beforeFirst, clear, getElements, hasNext, isEmpty, size
 
Methods inherited from class de.oio.bugkilla.protocol.TestSpecification
getID, setID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSeries

public TestSeries()
Method Detail

add

public boolean add(Scenario scenarios)
Returns the number of Scenario elements in this series.


contains

public boolean contains(Scenario scenarios)
Returns true if this series contains the specified Scenario element.

Returns:
true if this series contains the specified Scenario element

remove

public boolean remove(Scenario scenarios)
Removes the first occurrence of the specified Scenario element in this series.

Returns:
true if the series contained the specified Scenario element.

next

public Scenario next()
Returns the next Scenario element in the iteration.

Returns:
the next Scenario element in the iteration it is not possible to invoke this method because there will be no iterator instance.

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

getQualifiedName

public java.lang.String getQualifiedName()
Returns the qualifiedName.

Returns:
String

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

setQualifiedName

public void setQualifiedName(java.lang.String qualifiedName)
Sets the qualifiedName.

Parameters:
qualifiedName - The qualifiedName to set


Copyright © Orientation in Objects GmbH. All Rights Reserved.