com.ibm.team.fvt.tests.clm.pages.rm.history
Class RmHistoryEntryData

java.lang.Object
  extended by com.ibm.team.fvt.tests.web.WebPageElement
      extended by com.ibm.team.fvt.tests.web.WebElementWrapper
          extended by com.ibm.team.fvt.tests.clm.pages.rm.history.RmHistoryEntryData

public class RmHistoryEntryData
extends com.ibm.team.fvt.tests.web.WebElementWrapper

This class represents an entry from the RM Audit History Screen.


Nested Class Summary
 class RmHistoryEntryData.HistoryRow
          History sub entry, one for each row in a history entry.
 class RmHistoryEntryData.SimpleHistoryRow
          A Simple History Row contains the list of strings in the row.
 class RmHistoryEntryData.TextComparisonRow
          A text comparison row (eg for the Primary Text), then contains lists of added, changed and removed parts.
 
Constructor Summary
RmHistoryEntryData(com.ibm.team.fvt.tests.web.WebPage page, com.ibm.team.fvt.tests.web.WebBrowserElement element)
           
 
Method Summary
 java.lang.String getDate()
           
 RmHistoryEntryData.HistoryRow getRow(java.lang.String key)
          Gets a particular row from the History Entry, using the given key.
 int getRowCount()
           
 java.util.Set<java.lang.String> getRowKeys()
          Returns the row keys this entry contains.
 java.lang.String getUserName()
           
 
Methods inherited from class com.ibm.team.fvt.tests.web.WebElementWrapper
getText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmHistoryEntryData

public RmHistoryEntryData(com.ibm.team.fvt.tests.web.WebPage page,
                          com.ibm.team.fvt.tests.web.WebBrowserElement element)
Method Detail

getRowKeys

public java.util.Set<java.lang.String> getRowKeys()
Returns the row keys this entry contains.

Returns:
a Set of Strings, one for each row key.

getRow

public RmHistoryEntryData.HistoryRow getRow(java.lang.String key)
Gets a particular row from the History Entry, using the given key.

Parameters:
key -
Returns:
a HistoryRow representing that row in the entry.

getDate

public java.lang.String getDate()
Returns:
the Date of this Entry

getRowCount

public int getRowCount()
Returns:
the number of rows in this entry.

getUserName

public java.lang.String getUserName()
Returns:
the user name of the user that made this entry.