|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.DataCell
org.knime.core.data.model.PortObjectCell
public class PortObjectCell
Default implementation for a general port object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.knime.core.data.model.PortObjectValue |
|---|
PortObjectValue.PortObjectUtilityFactory |
| Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
|---|
DataValue.UtilityFactory |
| Field Summary | |
|---|---|
static DataType |
TYPE
Convenience access member for DataType.getType(PortObjectCell.class). |
| Fields inherited from interface org.knime.core.data.model.PortObjectValue |
|---|
UTILITY |
| Constructor Summary | |
|---|---|
PortObjectCell(PortObject content)
Constructor for creating port object cell objects. |
|
| Method Summary | |
|---|---|
protected boolean |
equalsDataCell(DataCell dc)
Derived classes implement their specific equals function here. |
static DataCellSerializer<PortObjectCell> |
getCellSerializer()
Serializer as required by parent class. |
PortObject |
getPortObject()
Get content of this port object. |
static Class<? extends DataValue> |
getPreferredValueClass()
|
int |
hashCode()
This method must be implemented in order to ensure that two equal DataCell objects return the same hash code. |
String |
toString()
Returns the String representation of this cell's value. |
| Methods inherited from class org.knime.core.data.DataCell |
|---|
equals, getType, isMissing |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final DataType TYPE
DataType.getType(PortObjectCell.class).
DataType.getType(Class)| Constructor Detail |
|---|
public PortObjectCell(PortObject content)
content - The port object to wrap.| Method Detail |
|---|
public static Class<? extends DataValue> getPreferredValueClass()
public static DataCellSerializer<PortObjectCell> getCellSerializer()
public PortObject getPortObject()
getPortObject in interface PortObjectValuepublic String toString()
toString in class DataCellprotected boolean equalsDataCell(DataCell dc)
null or a missing value,
to be of the same class like this.
equalsDataCell in class DataCelldc - the cell to compare this to
true if this is equal to the argument,
false if notpublic int hashCode()
DataCell objects return the same hash code.
hashCode in class DataCellDataCellObject.hashCode(),
DataCell.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||