Class Track

java.lang.Object
com.paf.jpafboard.Track

public class Track extends Object
A given Track object contains the infos related to a given track (artist, name...) and has a many2many relation with Genre objects. Warning! In the pafboard Genre means "keyword". Hence, the music library should be configured so that the usual genre tag contains a coma separated value list of genre.
  • Field Details

  • Constructor Details

  • Method Details

    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getArtist

      public String getArtist()
    • setArtist

      public void setArtist(String artist)
    • getGenres

      public com.j256.ormlite.dao.ForeignCollection<TrackGenre> getGenres()
    • addGenre

      public void addGenre(Genre genre)
    • getArrayGenres

      public ArrayList<Genre> getArrayGenres()
    • getKeywordString

      public String getKeywordString()
    • setGenresAndKeywordsString

      public void setGenresAndKeywordsString()
    • getGenresString

      public String getGenresString()
    • getLibrary

      public MusicLibrary getLibrary()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object