org.javagen.agile.db.visitor
Class LinkTableFinderVisitor
java.lang.Object
org.javagen.agile.db.visitor.DefaultDatabaseVisitor
org.javagen.agile.db.visitor.LinkTableFinderVisitor
- All Implemented Interfaces:
- Generator, Visit, Visitor, DatabaseVisitor
public class LinkTableFinderVisitor
- extends DefaultDatabaseVisitor
Identify and flag pure link or association tables - that is tables
whose only function is to link one table to another.
- Author:
- Richard Easterling
|
Method Summary |
void |
visit(Table table)
Identify and flag link tables. |
| Methods inherited from class org.javagen.agile.db.visitor.DefaultDatabaseVisitor |
gen, getRelativeInputPath, itinerary, setItinerary, setItinerary, setRelativeInputPath, visit, visit, visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkTableFinderVisitor
public LinkTableFinderVisitor()
visit
public void visit(Table table)
- Identify and flag link tables. Link tables are determined here as having
exactly two foreign key columns.
- Specified by:
visit in interface DatabaseVisitor- Overrides:
visit in class DefaultDatabaseVisitor
Copyright 2006-2006-2007 Outsource Cafe Inc.. All Rights Reserved.