moagg.prefs.score
Class ScoreEntry

java.lang.Object
  extended by moagg.prefs.score.ScoreEntry
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ScoreEntry>

public class ScoreEntry
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<ScoreEntry>

See Also:
Serialized Form

Constructor Summary
ScoreEntry()
           
ScoreEntry(java.lang.String name, Score score)
           
 
Method Summary
 int compareTo(ScoreEntry other)
           
 boolean equals(java.lang.Object obj)
           
static ScoreEntry fromString(java.lang.String value)
           
 java.util.Date getDate()
           
 java.lang.String getName()
           
 Score getScore()
           
 int hashCode()
           
 void setDate(java.util.Date date)
           
 void setName(java.lang.String name)
           
 void setScore(Score score)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScoreEntry

public ScoreEntry()

ScoreEntry

public ScoreEntry(java.lang.String name,
                  Score score)
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setDate

public void setDate(java.util.Date date)

getDate

public java.util.Date getDate()

setScore

public void setScore(Score score)

getScore

public Score getScore()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(ScoreEntry other)
Specified by:
compareTo in interface java.lang.Comparable<ScoreEntry>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromString

public static ScoreEntry fromString(java.lang.String value)


Copyright © 2008. All Rights Reserved.