All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.neogroup.warp.data.query.joins.Join Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package org.neogroup.warp.data.query.joins;

import org.neogroup.warp.data.query.conditions.ConditionGroup;

public class Join extends ConditionGroup {

    private String tableName;
    private String tableAlias;
    private JoinType type;

    public Join(String tableName) {
        this(tableName, JoinType.INNER_JOIN);
    }

    public Join(String tableName, JoinType type) {
        this(tableName, null, type);
    }

    public Join(String tableName, String tableAlias) {
        this(tableName, tableAlias, JoinType.INNER_JOIN);
    }

    public Join(String tableName, String tableAlias, JoinType type) {
        this.tableName = tableName;
        this.tableAlias = tableAlias;
        this.type = type;
    }

    public String getTableName() {
        return tableName;
    }

    public String getTableAlias() {
        return tableAlias;
    }

    public JoinType getType() {
        return type;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy