net.sourceforge.atunes.kernel.modules.repository
Class SongStats

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.repository.SongStats
All Implemented Interfaces:
java.io.Serializable

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

The Class SongStats.

See Also:
Serialized Form

Constructor Summary
SongStats()
          Instantiates a new song stats.
 
Method Summary
 java.util.Date getLastPlayed()
          Gets the last played.
 java.util.Date getPreviousPlayed()
          Gets the previous played.
 int getTimesPlayed()
          Gets the times played.
 void increaseTimesPlayed()
          Increase times played.
 void reset()
          Reset.
 void setLastPlayed(java.util.Date lastPlayed)
          Sets the last played.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SongStats

public SongStats()
Instantiates a new song stats.

Method Detail

getLastPlayed

public java.util.Date getLastPlayed()
Gets the last played.

Returns:
the last played

getPreviousPlayed

public java.util.Date getPreviousPlayed()
Gets the previous played.

Returns:
the previous played

getTimesPlayed

public int getTimesPlayed()
Gets the times played.

Returns:
the times played

increaseTimesPlayed

public void increaseTimesPlayed()
Increase times played.


reset

public void reset()
Reset.


setLastPlayed

public void setLastPlayed(java.util.Date lastPlayed)
Sets the last played.

Parameters:
lastPlayed - the new last played


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.