Package com.github.hakko.musiccabinet.domain.model.music

Examples of com.github.hakko.musiccabinet.domain.model.music.ArtistPlayCount


  @Override
  public void endElement(String uri, String localName, String qName)
  throws SAXException {
    String chars = characterData.toString();
    if (TAG_NAME.equals(qName)) {
      artistPlayCount = new ArtistPlayCount(chars);
    } else if (TAG_PLAY_COUNT.equals(qName)) {
      artistPlayCount.setPlayCount(toInt(chars));
      artistPlayCounts.add(artistPlayCount);
    }
  }
View Full Code Here


public class ArtistPlayCountRowMapper implements RowMapper<ArtistPlayCount> {

  @Override
  public ArtistPlayCount mapRow(ResultSet rs, int rowNum) throws SQLException {
    return new ArtistPlayCount(rs.getString(1), rs.getInt(2));
  }
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.domain.model.music.ArtistPlayCount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.