cdx.scorebot.app.util
Class ResultInfo

java.lang.Object
  extended by cdx.scorebot.app.util.ResultInfo
All Implemented Interfaces:
java.io.Serializable

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

Stores information about a particular return from a particular test

Author:
David Underhill
See Also:
Serialized Form

Constructor Summary
ResultInfo()
          Instantiates a ResultInfo
 
Method Summary
 java.lang.String getDescription()
          gets the description of this result
 java.lang.String getIdentifier()
          gets the name of the option used in the scoring language
 java.lang.String getName()
          gets the name of this result
 LiteralType getType()
          gets the type of this result
 void setDescription(java.lang.String desc)
          sets the description of this result
 void setIdentifier(java.lang.String identifier)
          sets the name of the option used in the scoring language
 void setName(java.lang.String name)
          sets the name of this result
 void setType(LiteralType type)
          sets the type of this option (ignores the parameter if it is null)
 java.lang.String toString()
          returns the name of the result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultInfo

public ResultInfo()
Instantiates a ResultInfo

Method Detail

getIdentifier

public java.lang.String getIdentifier()
gets the name of the option used in the scoring language


setIdentifier

public void setIdentifier(java.lang.String identifier)
                   throws TranslationFailedException
sets the name of the option used in the scoring language

Throws:
TranslationFailedException

getName

public java.lang.String getName()
gets the name of this result


setName

public void setName(java.lang.String name)
sets the name of this result


getDescription

public java.lang.String getDescription()
gets the description of this result


setDescription

public void setDescription(java.lang.String desc)
sets the description of this result


getType

public LiteralType getType()
gets the type of this result


setType

public void setType(LiteralType type)
sets the type of this option (ignores the parameter if it is null)


toString

public java.lang.String toString()
returns the name of the result

Overrides:
toString in class java.lang.Object