final List tracksData = statementExecutor.getValues( Arrays.asList( new String[] { "Tracks.IDTrack", "Tracks.TrackName" } ), Arrays.asList( new String[] { "Tracks.IDrecording=" + recordingId } ) ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
for( int j = 0; j < tracksData.size(); j++ )
{
final List tracksDataRow = (List)tracksData.get( j );
UniqueObject track = new UniqueObject( tracksDataRow.get( TRACK_ID ).toString() );
track.setName( (String)tracksDataRow.get( TRACK_NAME ) );
recording.add( track );
}
recordings.add( recording );
}