com.rapidminer.parameter
Class ParameterTypeValue

java.lang.Object
  extended by com.rapidminer.parameter.ParameterType
      extended by com.rapidminer.parameter.ParameterTypeSingle
          extended by com.rapidminer.parameter.ParameterTypeValue
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ParameterTypeValue
extends ParameterTypeSingle

A helper class for GUI purposes which allows for more sophisticated and automatic parameter creations.

Author:
Ingo Mierswa, Simon Fischer Exp $
See Also:
Serialized Form

Constructor Summary
ParameterTypeValue(java.lang.String key, java.lang.String description)
           
 
Method Summary
 java.lang.Object getDefaultValue()
          Returns null.
 java.lang.String getRange()
          Returns a human readable description of the range.
 boolean isNumerical()
          Returns false.
 boolean isOptional()
          Returns true if this parameter is optional.
 void setDefaultValue(java.lang.Object defaultValue)
          Does nothing.
 
Methods inherited from class com.rapidminer.parameter.ParameterTypeSingle
getXML
 
Methods inherited from class com.rapidminer.parameter.ParameterType
compareTo, getDescription, getKey, illegalValue, isExpert, isHidden, registerDependencyCondition, setDescription, setExpert, setHidden, setKey, setShowRange, showRange, toString, toString, toXMLString, transformNewValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterTypeValue

public ParameterTypeValue(java.lang.String key,
                          java.lang.String description)
Method Detail

isOptional

public boolean isOptional()
Description copied from class: ParameterType
Returns true if this parameter is optional. The default implementation returns true.

Overrides:
isOptional in class ParameterType

getDefaultValue

public java.lang.Object getDefaultValue()
Returns null.

Specified by:
getDefaultValue in class ParameterType

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)
Does nothing.

Specified by:
setDefaultValue in class ParameterType

getRange

public java.lang.String getRange()
Description copied from class: ParameterType
Returns a human readable description of the range.

Specified by:
getRange in class ParameterType

isNumerical

public boolean isNumerical()
Returns false.

Specified by:
isNumerical in class ParameterType


Copyright © 2001-2009 by Rapid-I