de.oio.bugkilla.protocol
Class ComplexTestSpecification

java.lang.Object
  |
  +--de.oio.bugkilla.protocol.TestSpecification
        |
        +--de.oio.bugkilla.protocol.ComplexTestSpecification
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Scenario, TestSequence, TestSeries, UserInteraction

public abstract class ComplexTestSpecification
extends TestSpecification

store all child elements

Author:
swinkler
See Also:
Serialized Form

Constructor Summary
ComplexTestSpecification()
          Construtor
 
Method Summary
 void beforeFirst()
          Init the iterator with the Elements of the TestSpecification elements
 void clear()
          Removes all of the TestSpecification elements from this specification.
 java.util.Enumeration getElements()
          Returns all Elements of the TestSpecification
 boolean hasNext()
          Returns true if the iteration has more elements.
 boolean isEmpty()
          Returns true if this specification contains no TestSpecification elements.
 int size()
          Returns the number of TestSpecification elements in this specification.
 
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

ComplexTestSpecification

public ComplexTestSpecification()
Construtor

Method Detail

size

public int size()
Returns the number of TestSpecification elements in this specification.

Returns:
the number of TestSpecification elements in this specification.
See Also:
Vector.size()

isEmpty

public boolean isEmpty()
Returns true if this specification contains no TestSpecification elements.

Returns:
true if this specification contains no TestSpecification elements

clear

public void clear()
Removes all of the TestSpecification elements from this specification. This specification
will be empty after this method.


hasNext

public boolean hasNext()
Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Returns:
true if the iteration has more elements.

beforeFirst

public void beforeFirst()
Init the iterator with the Elements of the TestSpecification elements


getElements

public java.util.Enumeration getElements()
Returns all Elements of the TestSpecification

Returns:
Enumeration of the TestSpecification elements


Copyright © Orientation in Objects GmbH. All Rights Reserved.