Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.76 KB | None | 0 0
  1. // Klasa wiersza utworu, implemetująca 2 interfejsy z wbudowanych bibliotek Androida
  2. public class SongRow implements Comparable, Serializable {
  3.  
  4.     //Id piosenki (z bazy)
  5.     private Integer songId;
  6.     // Wykonawcy tej piosenki, może być 1 lub więcej
  7.     private String artist;
  8.     // Tytuł piosenki
  9.     private String title;
  10.    // Przepływność piosenki
  11.     private String bitRate;
  12.     // Każdy obiekt posiada również pole do zaznaczanie,
  13.     private transient CheckBox checkBox;
  14.    // ścieżka pliku
  15.     private String songPath;
  16.     // jeżeli utwór posiada album, w tym polu zapisane będzie jego id
  17.     private Integer albumId;
  18.     // ilośc odtworzeń piosenki
  19.     private Integer songPlayCount;
  20.  
  21. //... konstruktor, oraz settery i gettery
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement