com.togethersoft.testing.host
Interface ISuiteEntry

All Known Subinterfaces:
IAssertion, ITarget, ITask, ITestAssetReference

public interface ISuiteEntry
extends IElementRO

Represents an element in test suite - ant target or task


Method Summary
 voidaddUserObject(String key, Object val)
          Associates the key with any object.
 ISuiteEntrycopy()
          Copies this entry to the clipboard
 ISuiteEntrycut()
          Removes this entry a puts it in the clipboard
 voiddelete()
          Deletes this entry
 ITestSuitegetContainingSuite()
          Returns the suite that contains this entry
 voidremoveUserObject(String key, Object val)
          Removes user objects associated via given key that has given value
 voidremoveUserObjects(String key)
          removes all elements with tag name =
 voidsetAttribute(String attributeName, String attributeValue)
          Sets the attribute value
 voidsetName(String name)
          Sets the of this entry

Methods inherited from interface com.togethersoft.testing.shared.IElementRO
getAttribute, getChild, getContent, getName, getRefId, getUserObjects, hasUserObject

Method Detail

addUserObject

public void addUserObject(String key, Object val)
Associates the key with any object. The objetc's class must implement java.io.Serializable
Multiple objects are allowed per one key.

copy

public ISuiteEntry copy()
throws TestHostException
Copies this entry to the clipboard

cut

public ISuiteEntry cut()
throws TestHostException
Removes this entry a puts it in the clipboard

delete

public void delete()
throws TestHostException
Deletes this entry

getContainingSuite

public ITestSuite getContainingSuite()
Returns the suite that contains this entry

removeUserObject

public void removeUserObject(String key, Object val)
Removes user objects associated via given key that has given value

removeUserObjects

public void removeUserObjects(String key)
removes all elements with tag name =

setAttribute

public void setAttribute(String attributeName, String attributeValue)
Sets the attribute value

setName

public void setName(String name)
throws TestHostException
Sets the of this entry