|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.parameter.ParameterType
com.rapidminer.parameter.ParameterTypeSingle
com.rapidminer.tools.config.ParameterTypeConfigurable
public class ParameterTypeConfigurable
A ParameterType which offers a selection field for Configurables.
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.parameter.ParameterType |
|---|
ELEMENT_PARAMETER_TYPE |
| Constructor Summary | |
|---|---|
ParameterTypeConfigurable(org.w3c.dom.Element element)
|
|
ParameterTypeConfigurable(java.lang.String key,
java.lang.String description,
java.lang.String typeId)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getDefaultValue()
Returns a value that can be used if the parameter is not set. |
java.lang.String |
getRange()
Returns a human readable description of the range. |
java.lang.String |
getTypeId()
|
boolean |
isNumerical()
Returns true if the values of this parameter type are numerical, i.e. might be parsed by Double.parseDouble(String). |
void |
setDefaultValue(java.lang.Object defaultValue)
Sets the default value. |
protected void |
writeDefinitionToXML(org.w3c.dom.Element typeElement)
Subclasses must store all their properties inside the typeElement and must be able to reload it from their using the constructor (Operator operator, Element element). |
| Methods inherited from class com.rapidminer.parameter.ParameterTypeSingle |
|---|
getXML, getXML, substituteMacros, toXMLString |
| Methods inherited from class com.rapidminer.parameter.ParameterType |
|---|
compareTo, createType, getConditions, getDefaultValueAsString, getDefinitionAsXML, getDependencyConditions, getDescription, getKey, illegalValue, isDeprecated, isExpert, isHidden, isOptional, notifyOperatorRenaming, registerDependencyCondition, setDeprecated, setDescription, setExpert, setHidden, setKey, setOptional, 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 |
|---|
public ParameterTypeConfigurable(org.w3c.dom.Element element)
throws XMLException
XMLException
public ParameterTypeConfigurable(java.lang.String key,
java.lang.String description,
java.lang.String typeId)
| Method Detail |
|---|
public java.lang.String getTypeId()
public java.lang.Object getDefaultValue()
ParameterType
getDefaultValue in class ParameterTypepublic java.lang.String getRange()
ParameterType
getRange in class ParameterTypepublic boolean isNumerical()
ParameterTypeDouble.parseDouble(String). Otherwise false should be returned. This method
might be used by parameter logging operators.
isNumerical in class ParameterTypepublic void setDefaultValue(java.lang.Object defaultValue)
ParameterType
setDefaultValue in class ParameterTypeprotected void writeDefinitionToXML(org.w3c.dom.Element typeElement)
ParameterType
writeDefinitionToXML in class ParameterType
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||