cdx.scorebot.app.util
Class OptionInfo

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

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

Stores information about a particular option for a particular test

Author:
David Underhill
See Also:
Serialized Form

Constructor Summary
OptionInfo()
          Instantiates an OptionInfo
 
Method Summary
 java.lang.String getDescription()
          gets the description of this option
 java.lang.String getIdentifier()
          gets the name of the option used in the scoring language
 java.lang.String getName()
          gets the name of this option
 LiteralType getType()
          gets the type of this option
 void setDescription(java.lang.String desc)
          sets the description of this option
 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 option
 void setType(LiteralType type)
          sets the type of this option (ignores the parameter if it is null)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionInfo

public OptionInfo()
Instantiates an OptionInfo

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 option


setName

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


getDescription

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


setDescription

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


getType

public LiteralType getType()
gets the type of this option


setType

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