Class SongTask


  • @Entity
    public class SongTask
    extends Object
    Artifact to model the Song Id to Task relationship. This allows us to associate many Song Ids with a single Task(Configuration), thus saving disk space and allowing for much faster SongTask bulk insertion.
    Author:
    Hendrik Schreiber
    • Constructor Detail

      • SongTask

        public SongTask()
    • Method Detail

      • getId

        public long getId()
      • getSongId

        public Long getSongId()
      • setSongId

        public void setSongId​(Long songId)
      • getTaskTemplate

        public Task getTaskTemplate()
      • setTaskTemplate

        public void setTaskTemplate​(Task taskTemplate)
      • getTask

        public Task getTask()
        Returns a task instance created from the associated template, private to this particular SongTask.
        Returns:
        task instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object