src/org/ohmage/query/impl/UserClassQueries.java
@Override
							public Clazz.Role mapRow(ResultSet rs, int rowNum)
									throws SQLException {
								
								try {
									return Clazz.Role.getValue(
											rs.getString("role"));
								}
								catch(IllegalArgumentException e) {
									throw new SQLException(
											"Unknown role in the database.", 
											e);
								}
							}
/**
							 * Converts the class role string to a class Role 
							 * object.
							 */
Converts the class role string to a class Role
object.
Converts the class role string to a class Role object .
@Override
							public Clazz.Role mapRow(ResultSet rs, int rowNum)
									throws SQLException {
								try {
									return Clazz.Role.getValue(
											rs.getString("role"));
								}
								catch(IllegalArgumentException e) {
									throw new SQLException(
											"Unknown role in the database.", 
											e);
								}
							}
@ Override public Clazz . Role mapRow ( ResultSet rs , int rowNum ) throws SQLException { try { return Clazz . Role . getValue ( rs . getString ( "role" ) ) ; } catch ( IllegalArgumentException e ) { throw new SQLException ( "Unknown role in the database." , e ) ; } }
Converts the class role string to a class Role
 object.
Converts the class role string to a class Role object .