|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.schemaspy.view.DotConnector
public class DotConnector
Represents GraphVis dot's concept of an edge. That is, a connector between two nodes.
| Constructor Summary | |
|---|---|
DotConnector(TableColumn parentColumn,
TableColumn childColumn,
boolean implied)
Create an edge that logically connects a child column to a parent column. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
void |
connectToChildTitle()
|
void |
connectToParentDetails()
By default a parent edge connects to the column name...this lets you connect it the parent's type column instead (e.g. |
void |
connectToParentTitle()
|
boolean |
equals(Object other)
|
TableColumn |
getChildColumn()
|
Table |
getChildTable()
|
TableColumn |
getParentColumn()
|
Table |
getParentTable()
|
int |
hashCode()
|
boolean |
isImplied()
|
boolean |
pointsTo(Table possibleParentTable)
Returns true if this edge logically "points to" the specified table |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DotConnector(TableColumn parentColumn,
TableColumn childColumn,
boolean implied)
parentColumn - TableColumnchildColumn - TableColumnimplied - boolean| Method Detail |
|---|
public boolean pointsTo(Table possibleParentTable)
possibleParentTable - Table
public boolean isImplied()
public void connectToParentDetails()
public void connectToParentTitle()
public void connectToChildTitle()
public String toString()
toString in class Objectpublic int compareTo(Object o)
compareTo in interface Comparablepublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic TableColumn getParentColumn()
public Table getParentTable()
public TableColumn getChildColumn()
public Table getChildTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||