package org.powertools.database;


public abstract class Source {
    abstract boolean hasName(String name);
    abstract String getName();
    
    public abstract String getFullName ();

    public TablesForJoin join (Table table) {
        return new TablesForJoin ("JOIN", this, table);
    }

    public TablesForJoin leftJoin (Table table) {
        return new TablesForJoin ("LEFT JOIN", this, table);
    }

    public TablesForJoin rightJoin (Table table) {
        return new TablesForJoin ("RIGHT JOIN", this, table);
    }

    public TablesForJoin fullJoin (Table table) {
        return new TablesForJoin ("FULL JOIN", this, table);
    }
}

@@ -333,319 +333,844 @@
 oin 
-leftJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22LEFT JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin rightJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22RIGHT JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin fullJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22FULL
+innerJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22INNER JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin leftJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22LEFT JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin leftOuterJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22LEFT OUTER JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin rightJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22RIGHT JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin rightOuterJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22RIGHT OUTER JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin fullJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22FULL JOIN%22, this, table);%0D%0A    %7D%0D%0A%0D%0A    public TablesForJoin fullOuterJoin (Table table) %7B%0D%0A        return new TablesForJoin (%22FULL OUTER
  JOI

support join synonyms