|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.datastore.sql.transaction.delete.TableNode
public class TableNode
Represents a table row that has to be deleted as part of a Delete
operation.
Connected table entries (rows that refer to this row or that are referenced by this row) are also stored.
TableGraph
Constructor Summary | |
---|---|
TableNode(FeatureId fid)
Creates a new DeleteNode instance for a feature instance. |
|
TableNode(java.lang.String table,
java.util.Collection<KeyColumn> keyColumns)
Creates a new DeleteNode instance. |
Method Summary | |
---|---|
(package private) void |
connect(TableNode targetNode)
Connects this node to the given target node. |
boolean |
equals(java.lang.Object obj)
|
(package private) java.util.Collection<KeyColumn> |
getKeyColumns()
Returns the key columns that identify the table row. |
(package private) KeyColumn |
getKeyColumnValue(java.lang.String columnName)
Returns the value for the given key column name. |
(package private) java.util.Collection<TableNode> |
getPostNodes()
Returns the set of post nodes, i.e. table rows that are referenced by this row. |
(package private) java.util.Collection<TableNode> |
getPreNodes()
Returns the set of pre nodes, i.e. table rows that refer to this row. |
(package private) java.lang.String |
getTable()
Returns the table name. |
int |
hashCode()
|
(package private) boolean |
isDeleteVetoPossible()
|
(package private) void |
setDeleteVetoPossible()
|
java.lang.String |
toString()
|
(package private) java.lang.String |
toString(java.lang.String indent,
java.util.Set<TableNode> printedNodes)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
TableNode(java.lang.String table, java.util.Collection<KeyColumn> keyColumns)
DeleteNode
instance.
table
- keyColumns
- TableNode(FeatureId fid)
DeleteNode
instance for a feature instance.
fid
- Method Detail |
---|
boolean isDeleteVetoPossible()
void setDeleteVetoPossible()
java.lang.String getTable()
java.util.Collection<KeyColumn> getKeyColumns()
KeyColumn getKeyColumnValue(java.lang.String columnName)
columnName
-
java.util.Collection<TableNode> getPostNodes()
java.util.Collection<TableNode> getPreNodes()
void connect(TableNode targetNode)
NOTE: The target node is the one that stores the primary key.
targetNode
- public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toString(java.lang.String indent, java.util.Set<TableNode> printedNodes)
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org