com.atlassian.confluence.user.crowd.jira
Class StringRowMapper

java.lang.Object
  extended by com.atlassian.confluence.user.crowd.jira.StringRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowMapper

public class StringRowMapper
extends Object
implements org.springframework.jdbc.core.RowMapper

A row mapper that pulls out a single String value from each row by column name.


Constructor Summary
StringRowMapper(String columnName)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 Object mapRow(ResultSet rs, int rowNum)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringRowMapper

public StringRowMapper(String columnName)
Method Detail

mapRow

public Object mapRow(ResultSet rs,
                     int rowNum)
              throws SQLException
Specified by:
mapRow in interface org.springframework.jdbc.core.RowMapper
Throws:
SQLException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2011 Atlassian. All Rights Reserved.