edu.jhu.tmaj.client.image.data
Class ScoreData

java.lang.Object
  extended by edu.jhu.tmaj.client.image.data.ScoreData
All Implemented Interfaces:
java.io.Serializable

public final class ScoreData
extends java.lang.Object
implements java.io.Serializable

A Class that represents the what fields (not values) a user has assigned to a spot

See Also:
Serialized Form

Constructor Summary
ScoreData()
           
 
Method Summary
 char getChar()
          Gets the character that will be displayed in the scoredimages position in the ArraySlide Frame.
 boolean isDiagnosed()
          Returns true if the user has assigned a Sub-Diagnosis (HistologicType)
 boolean isOtherScored()
          Returns true if the user has made a score to a field other than HistologicType, such as notes.
 boolean isTyped()
          Returns true if the user has assigned a TissueType
 void setDiagnosed(boolean isDiagnosed)
           
 void setOtherScored(boolean isOtherScored)
           
 void setTyped(boolean isTyped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreData

public ScoreData()
Method Detail

getChar

public char getChar()
Gets the character that will be displayed in the scoredimages position in the ArraySlide Frame. This is either nothing, X,/, or O, depending on what the user has scored.


isDiagnosed

public boolean isDiagnosed()
Returns true if the user has assigned a Sub-Diagnosis (HistologicType)


setDiagnosed

public void setDiagnosed(boolean isDiagnosed)

isTyped

public boolean isTyped()
Returns true if the user has assigned a TissueType


setTyped

public void setTyped(boolean isTyped)

isOtherScored

public boolean isOtherScored()
Returns true if the user has made a score to a field other than HistologicType, such as notes.


setOtherScored

public void setOtherScored(boolean isOtherScored)