net.jetrix.winlist
Class Score

java.lang.Object
  extended by net.jetrix.winlist.Score

public class Score
extends Object

The score of a player or team in a winlist.

Version:
$Revision: 271 $, $Date: 2003-08-13 12:51:15 +0200 (mer., 13 août 2003) $
Author:
Emmanuel Bourg

Field Summary
static int TYPE_PLAYER
           
static int TYPE_TEAM
           
 
Constructor Summary
Score()
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 long getScore()
           
 int getType()
           
 int hashCode()
           
 void setName(String name)
           
 void setScore(long score)
           
 void setType(int type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_PLAYER

public static final int TYPE_PLAYER
See Also:
Constant Field Values

TYPE_TEAM

public static final int TYPE_TEAM
See Also:
Constant Field Values
Constructor Detail

Score

public Score()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getType

public int getType()

setType

public void setType(int type)

getScore

public long getScore()

setScore

public void setScore(long score)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2008 Emmanuel Bourg. All Rights Reserved.