its.SQL
Interface EditRow


public interface EditRow

Used to edit rows from a ContentsData object. The result of this does not change the structure of the ContentsData object, but is used by ContentsData.edit to build a new String containing the edited rows.

See Also:
ContentsData.filter(AcceptRow)

Method Summary
 java.lang.String editRow(ContentsData cd)
          The implementation of this method should examine the current row of the ContentsData object passed to it, and return a string containing the required values from that row plus any additional values to be added.
 java.lang.String getColumnNames(ContentsData cd)
           
 java.lang.String getTableName()
           
 

Method Detail

getTableName

public java.lang.String getTableName()

getColumnNames

public java.lang.String getColumnNames(ContentsData cd)

editRow

public java.lang.String editRow(ContentsData cd)
The implementation of this method should examine the current row of the ContentsData object passed to it, and return a string containing the required values from that row plus any additional values to be added. The ContentsData.getRowString(true) method may be used to generate a string containing all the values of the current row separated by commas. Be sure that string values are enclosed in single quotes.