compbio.metadata
Interface Argument<T>
- Type Parameters:
 T - executable type
- All Known Implementing Classes: 
 - Option, Parameter
 
public interface Argument<T>
An unmodifiable view for the options and parameters, with one exception - it
 allows to set a value
- Author:
 
  - pvtroshin
 
         Date December 2009
 
- See Also:
 Parameter, 
Option
 
getFurtherDetails
URL getFurtherDetails()
 
getDefaultValue
String getDefaultValue()
 
getDescription
String getDescription()
 
getName
String getName()
 
getPossibleValues
List<String> getPossibleValues()
- Returns:
 - List of values allowed for an Argument
 
 
setValue
void setValue(String defaultValue)
              throws WrongParameterException
- Set default values for the parameter or an option
- Parameters:
 defaultValue - the value to be set
- Throws:
 WrongParameterException - - when the value to be set is illegal. Wrong value for
             numeric parameter is the value defined outside it , for
             string type parameter, wrong value is the one which is not
             listed in possible values list- See Also:
 ValueConstrain