|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(String table,
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(Object obj)
|
(package private) Collection<KeyColumn> |
getKeyColumns()
Returns the key columns that identify the table row. |
(package private) KeyColumn |
getKeyColumnValue(String columnName)
Returns the value for the given key column name. |
(package private) Collection<TableNode> |
getPostNodes()
Returns the set of post nodes, i.e. table rows that are referenced by this row. |
(package private) Collection<TableNode> |
getPreNodes()
Returns the set of pre nodes, i.e. table rows that refer to this row. |
(package private) String |
getTable()
Returns the table name. |
int |
hashCode()
|
(package private) boolean |
isDeleteVetoPossible()
|
(package private) void |
setDeleteVetoPossible()
|
String |
toString()
|
(package private) String |
toString(String indent,
Set<TableNode> printedNodes)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
TableNode(String table, Collection<KeyColumn> keyColumns)
DeleteNode
instance.
table
- keyColumns
- TableNode(FeatureId fid)
DeleteNode
instance for a feature instance.
fid
- Method Detail |
---|
boolean isDeleteVetoPossible()
void setDeleteVetoPossible()
String getTable()
Collection<KeyColumn> getKeyColumns()
KeyColumn getKeyColumnValue(String columnName)
columnName
-
Collection<TableNode> getPostNodes()
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 Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
String toString(String indent, Set<TableNode> printedNodes)
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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