sbc.orthoxml
Class ScoreDefinition

java.lang.Object
  extended by sbc.orthoxml.ScoreDefinition

public class ScoreDefinition
extends java.lang.Object

Represent the definition of a score. A score is defined by an identifier and a description. Scores can can assigned to groups in context of the membership to a certain group.

Author:
Thomas Schmitt

Constructor Summary
ScoreDefinition(java.lang.String scoreId, java.lang.String description)
          Creates a score definition with the given identifier and description.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDescription()
          Returns the score description.
 java.lang.String getId()
          Returns the score identifier.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreDefinition

public ScoreDefinition(java.lang.String scoreId,
                       java.lang.String description)
Creates a score definition with the given identifier and description.

Parameters:
scoreId - the score identifier
description - the score description
Method Detail

getId

public java.lang.String getId()
Returns the score identifier.

Returns:
The score identifier.

getDescription

public java.lang.String getDescription()
Returns the score description.

Returns:
The score description.

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