|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.database.DatabasePortObject
public class DatabasePortObject
Class used as database port object holding a BufferedDataTable
and a ModelContentRO to create a database connection.
| Nested Class Summary | |
|---|---|
class |
DatabasePortObject.DatabaseOutPortPanel
Override this panel in order to set the CredentialsProvider into this class. |
| Nested classes/interfaces inherited from interface org.knime.core.node.port.PortObject |
|---|
PortObject.PortObjectSerializer<T extends PortObject> |
| Field Summary | |
|---|---|
static PortType |
TYPE
Database port type formed PortObjectSpec.class and
PortObject.class from this class. |
| Constructor Summary | |
|---|---|
DatabasePortObject(DatabasePortObjectSpec spec)
Creates a new database port object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ModelContentRO |
getConnectionModel()
|
static PortObject.PortObjectSerializer<DatabasePortObject> |
getPortObjectSerializer()
Serializer used to save DatabasePortObject. |
DatabasePortObjectSpec |
getSpec()
Get specification to this port object. |
String |
getSummary()
Get a short summary of this PortObject. |
JComponent[] |
getViews()
The returned views are displayed in the out port view of the referring node. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PortType TYPE
PortObjectSpec.class and
PortObject.class from this class.
| Constructor Detail |
|---|
public DatabasePortObject(DatabasePortObjectSpec spec)
spec - database port object spec
NullPointerException - if one of the arguments is null| Method Detail |
|---|
public DatabasePortObjectSpec 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.
getSpec in interface PortObjectPortObjectSpec or any derived spec,
never null.public String getSummary()
PortObject.
The return value will be shown in a node port's tooltip, for instance.
getSummary in interface PortObjectpublic ModelContentRO getConnectionModel()
public static PortObject.PortObjectSerializer<DatabasePortObject> getPortObjectSerializer()
DatabasePortObject.
public JComponent[] getViews()
getViews in interface PortObjectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||