org.ametys.plugins.datainclusion.data.sql
Class SqlQueryResultRow

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,String>
          extended by org.ametys.plugins.datainclusion.data.sql.SqlQueryResultRow
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>, QueryResultRow

public class SqlQueryResultRow
extends HashMap<String,String>
implements QueryResultRow

SQL implementation of Query Result Row.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SqlQueryResultRow()
           
 
Method Summary
 String get(String columnName)
          Get this row's value for the specified attribute.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SqlQueryResultRow

public SqlQueryResultRow()
Method Detail

get

public String get(String columnName)
           throws DataInclusionException
Description copied from interface: QueryResultRow
Get this row's value for the specified attribute.

Specified by:
get in interface QueryResultRow
Parameters:
columnName - the column/attribute name.
Returns:
the column names as a Collection.
Throws:
DataInclusionException - if an error occurs retrieving the value.


Copyright © 2010 Anyware Services. All Rights Reserved.