audiojury.domain
Class Score

java.lang.Object
  |
  +--audiojury.domain.Score
All Implemented Interfaces:
java.io.Serializable

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

Contains the score of a Judgement.

See Also:
Serialized Form

Constructor Summary
Score()
          Creates a new Score object.
 
Method Summary
 java.lang.String getLabel()
          Gets the label of the score.
 int getValue()
          Gets the numerical value of the score.
 void setLabel(java.lang.String slabel)
          Sets the label for the score.
 void setValue(int svalue)
          Sets the numerical value of the score.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Score

public Score()
Creates a new Score object.

Method Detail

getLabel

public java.lang.String getLabel()
Gets the label of the score.

Returns:
String with the label of the score.

setLabel

public void setLabel(java.lang.String slabel)
Sets the label for the score.

Parameters:
slabel - String with the new label for the score.

getValue

public int getValue()
Gets the numerical value of the score.

Returns:
integer representing the value given to the score object.

setValue

public void setValue(int svalue)
Sets the numerical value of the score.

Parameters:
svalue - integer with the value you want to give the score object.