net.ontopia.topicmaps.query.utils
Interface RowMapperIF


public interface RowMapperIF

EXPERIMENTAL: Interface to be implemented by row mappers used by the queryForList method on QueryWrapper.

Since:
3.4.4

Method Summary
 java.lang.Object mapRow(QueryResultIF result, int rowno)
          EXPERIMENTAL: This method is called once for each row in query results, and the returned object is added to the list returned by queryForList.
 

Method Detail

mapRow

java.lang.Object mapRow(QueryResultIF result,
                        int rowno)
EXPERIMENTAL: This method is called once for each row in query results, and the returned object is added to the list returned by queryForList.

Parameters:
result - the query result object
rowno - the number of this row in the current query result (in zero-based counting)
Returns:
an object to put into the query result list


Copyright © 2000-2009 Ontopia.