de.oio.bugkilla.protocol
Class UserInteraction

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

public class UserInteraction
extends ComplexTestSpecification

Author:
mniete To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.
See Also:
Serialized Form

Constructor Summary
UserInteraction()
           
 
Method Summary
 boolean add(TestStep step)
          Returns the number of TestStep elements in this user-interaction.
 boolean contains(TestStep step)
          Returns true if this user-interaction contains the specified TestStep element.
 Environment getEnvironment()
          Returns the environment.
 java.lang.String getQualifiedName()
          Returns the qualifiedName.
 TestStep next()
          Returns the next TestStep element in the iteration.
 boolean remove(TestStep step)
          Removes the first occurrence of the specified TestStep element in this user-interaction.
 void setEnvironment(Environment environment)
          Sets the environment.
 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

UserInteraction

public UserInteraction()
Method Detail

getEnvironment

public Environment getEnvironment()
Returns the environment.

Returns:
Environment

setEnvironment

public void setEnvironment(Environment environment)
Sets the environment.

Parameters:
environment - The environment to set

add

public boolean add(TestStep step)
Returns the number of TestStep elements in this user-interaction.

Parameters:
step - the number of TestStep elements in this user-interaction
Returns:
boolean true if adding war successful

contains

public boolean contains(TestStep step)
Returns true if this user-interaction contains the specified TestStep element.

Parameters:
step - - TestStep element whose presence in this user-interaction is to be tested.
Returns:
true if this user-interaction contains the specified TestStep element

remove

public boolean remove(TestStep step)
Removes the first occurrence of the specified TestStep element in this user-interaction.

Parameters:
step - - TestStep element to be removed from this user-interaction, if present.
Returns:
true if the user-interaction contained the specified TestStep element.
See Also:
Vector.remove(Object)

next

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

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

getQualifiedName

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

Returns:
String

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.