|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.AbstractSimplePortObject
org.knime.base.node.mine.bfn.BasisFunctionPortObject
public abstract class BasisFunctionPortObject
| Nested Class Summary | |
|---|---|
static interface |
BasisFunctionPortObject.Creator
Creator used to instantiate basisfunction predictor rows. |
| Nested classes/interfaces inherited from interface org.knime.core.node.port.PortObject |
|---|
PortObject.PortObjectSerializer<T extends PortObject> |
| Constructor Summary | |
|---|---|
BasisFunctionPortObject()
Creates a new abstract BasisFunctionPortObject. |
|
BasisFunctionPortObject(BasisFunctionModelContent cont)
Creates a new basis function model object. |
|
| Method Summary | |
|---|---|
abstract BasisFunctionPortObject |
createPortObject(BasisFunctionModelContent content)
Create a new basisfunction port object given the model content. |
Map<DataCell,List<BasisFunctionPredictorRow>> |
getBasisFunctions()
|
abstract BasisFunctionPortObject.Creator |
getCreator()
|
DataTableSpec |
getSpec()
Get specification to this port object. |
String |
getSummary()
Get a short summary of this PortObject. |
protected void |
load(ModelContentRO model,
PortObjectSpec spec,
ExecutionMonitor exec)
Loads the content into the freshly instantiated object. |
protected void |
save(ModelContentWO model,
ExecutionMonitor exec)
Saves this object to model content object. |
| Methods inherited from class org.knime.core.node.port.AbstractSimplePortObject |
|---|
equals, getPortObjectSerializer, getViews, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasisFunctionPortObject()
BasisFunctionPortObject.
public BasisFunctionPortObject(BasisFunctionModelContent cont)
cont - basisfunction model content containing rules and spec| Method Detail |
|---|
public final DataTableSpec getSpec()
PortObjectSpec which is used to configure any successor node
after execution, e.g. a BufferedDataTable can return a
DataTableSpec.
Subclasses should narrow the return type if possible.
PortObjectSpec or any derived spec,
never null.public final Map<DataCell,List<BasisFunctionPredictorRow>> getBasisFunctions()
public abstract BasisFunctionPortObject createPortObject(BasisFunctionModelContent content)
content - basisfunction model content with spec and rules.
public String getSummary()
PortObject.
The return value will be shown in a node port's tooltip, for instance.
protected void save(ModelContentWO model,
ExecutionMonitor exec)
throws CanceledExecutionException
save in class AbstractSimplePortObjectmodel - To save to.exec - For progress/cancelation.
CanceledExecutionException - If canceled.
protected void load(ModelContentRO model,
PortObjectSpec spec,
ExecutionMonitor exec)
throws InvalidSettingsException,
CanceledExecutionException
load in class AbstractSimplePortObjectmodel - To load from.spec - The accompanying spec (which can be safely cast to the
expected class).exec - For progress/cancelation.
InvalidSettingsException - If settings are incomplete/deficient.
CanceledExecutionException - If canceled.public abstract BasisFunctionPortObject.Creator getCreator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||