com.ibm.dse.tools.workbench.base
Interface TagUtil

All Known Implementing Classes:
InstanceTagUtil

public interface TagUtil

This interface defines the behavior of the utility to import and export form a Tag object to a Table Row.


Method Summary
 Tag convertTableRowsToTag(TableRow[] aTableRowArray)
          This method converts a TableRow array to a Tag object.
 TableRow[] convertTagToTableRows(Tag aTag)
          This method converts a Tag Object to an table row.
 void setTable(Table aTable)
          Sets the Instances Table
 

Method Detail

convertTableRowsToTag

public Tag convertTableRowsToTag(TableRow[] aTableRowArray)
This method converts a TableRow array to a Tag object.
Parameters:
aTableRowArray - The table row array to be converted.

convertTagToTableRows

public TableRow[] convertTagToTableRows(Tag aTag)
                                 throws WorkbenchException
This method converts a Tag Object to an table row. The tag could contain Tag attributes objects and a list of Sub Tags objects, which will be created as a table rows.
Parameters:
aTag - com.ibm.dse.tools.workbench.base.Tag
Returns:
com.ibm.dse.tools.workbench.base.TableRow[] The TableRow objects that have been created
Throws:
WorkbenchException -  

setTable

public void setTable(Table aTable)
              throws WorkbenchException
Sets the Instances Table
Parameters:
aTable - com.ibm.dse.tools.workbench.base.Table The table to be set.
Throws:
WorkbenchException -