Package com.tagtraum.beatunes.analysis
Class SongTask
- java.lang.Object
-
- com.tagtraum.beatunes.analysis.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 Summary
Constructors Constructor Description SongTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
long
getId()
Long
getSongId()
Task
getTask()
Returns a task instance created from the associated template, private to this particularSongTask
.Task
getTaskTemplate()
int
hashCode()
void
setSongId(Long songId)
void
setTaskTemplate(Task taskTemplate)
String
toString()
-
-
-
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 particularSongTask
.- Returns:
- task instance
-
-