Package com.hp.lft.sdk.web
Class ColumnToSearch
java.lang.Object
com.hp.lft.sdk.web.ColumnToSearch
Class defining the table column in which to search.
 
Usage example:
ColumnToSearch columnToSearch = ColumnToSearch.byIndex(5);
ColumnToSearch columnToSearch = ColumnToSearch.byHeader("header2", 1);
Usage example:
ColumnToSearch columnToSearch = ColumnToSearch.byIndex(5);
ColumnToSearch columnToSearch = ColumnToSearch.byHeader("header2", 1);
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ColumnToSearchReturns the object that specifies the table column in which to searchstatic ColumnToSearchReturns the object that specifies the table column in which to searchstatic ColumnToSearchbyIndex(int columnIndex) Returns the object that specifies the table column in which to search.
- 
Field Details- 
columnHeader
- 
columnIndex
- 
columnHeaderOccurrence
 
- 
- 
Constructor Details- 
ColumnToSearchprotected ColumnToSearch()
 
- 
- 
Method Details- 
byIndexReturns the object that specifies the table column in which to search.- Parameters:
- columnIndex- 0-based column index.
- Returns:
- the object that specifies the table column in which to search
 
- 
byHeaderReturns the object that specifies the table column in which to search- Parameters:
- columnHeader- the column's name.
- Returns:
- the object that specifies the table column in which to search
 
- 
byHeaderReturns the object that specifies the table column in which to search- Parameters:
- columnHeader- the column's name.
- columnHeaderOccurrence- 0-based ordinal number of the column name's occurrence if the table has multiple columns with the same name.
- Returns:
- the object that specifies the table column in which to search.
 
 
-