org.musicontroller.gui.edit
Class SongBean

java.lang.Object
  extended by org.musicontroller.gui.edit.SongBean
All Implemented Interfaces:
java.io.Serializable

public class SongBean
extends java.lang.Object
implements java.io.Serializable

Bean used for storing editable properties of a song in the form on the Playlist edit screen. The bean also can contain the band id of the band performing the song. A negative value indicates that the band id has not been filled.

Version:
$Id: SongBean.java,v 1.1 2010/03/16 18:55:42 varienaja Exp $
Author:
Hans Drexler
See Also:
Serialized Form

Constructor Summary
SongBean()
           
 
Method Summary
 long getBandId()
          Getter for the band id.
 java.lang.String getBandname()
          Getter for the band name.
 long getSongId()
          Getter for the song id.
 int getSongIndex()
          Getter for the song index.
 java.lang.String getSongKeywords()
          Getter for the song keywords (Expressed as a comma separated list of keywords).
 int getSonglength()
          Getter for the song length.
 java.lang.String getSongname()
          Getter for the song name.
 void setBandId(long bandId)
          Setter for the band id.
 void setBandname(java.lang.String bandname)
          Setter for the band name.
 void setSongId(long id)
          Setter for the song id.
 void setSongIndex(int index)
          Setter for the song index.
 void setSongKeywords(java.lang.String keywords)
          Setter for the song keywords (Expressed as a comma separated list of keywords).
 void setSonglength(int songlength)
          Setter for the song length.
 void setSongname(java.lang.String songname)
          Setter for the song name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SongBean

public SongBean()
Method Detail

setBandname

public void setBandname(java.lang.String bandname)
Setter for the band name.

Parameters:
bandname - The band name.

getBandname

public java.lang.String getBandname()
Getter for the band name.

Returns:
The band name.

getBandId

public long getBandId()
Getter for the band id.

Returns:
The band id.

setBandId

public void setBandId(long bandId)
Setter for the band id.

Parameters:
bandId - The band Id.

setSongname

public void setSongname(java.lang.String songname)
Setter for the song name.

Parameters:
songname - The song name.

getSongname

public java.lang.String getSongname()
Getter for the song name.

Returns:
The song name.

setSonglength

public void setSonglength(int songlength)
Setter for the song length.

Parameters:
songlength - The song length.

getSonglength

public int getSonglength()
Getter for the song length.

Returns:
The song length.

getSongKeywords

public java.lang.String getSongKeywords()
Getter for the song keywords (Expressed as a comma separated list of keywords).

Returns:
The list of keywords.

setSongKeywords

public void setSongKeywords(java.lang.String keywords)
Setter for the song keywords (Expressed as a comma separated list of keywords).

Parameters:
keywords - The new list of keywords.

getSongId

public long getSongId()
Getter for the song id.

Returns:
The song id.

setSongId

public void setSongId(long id)
Setter for the song id.

Parameters:
id - The song id.

getSongIndex

public int getSongIndex()
Getter for the song index.

Returns:
The song index.

setSongIndex

public void setSongIndex(int index)
Setter for the song index.

Parameters:
index - The song index.


Copyright © 2010 A.J.V.. All Rights Reserved.