/*********************************************************************************
* The contents of this file are subject to the OpenI Public License Version 1.0
* ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at
* http://www.openi.org/docs/LICENSE.txt
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Original Code is: OpenI Open Source
*
* The Initial Developer of the Original Code is Loyalty Matrix, Inc.
* Portions created by Loyalty Matrix, Inc. are
* Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
*
* Contributor(s): ______________________________________.
*
********************************************************************************/
package org.openi.mondrian.schema;
import java.util.*;
/**
* @author Dioendra Pokhrel
* @version $Revision: 1.3 $ $Date: 2006/04/12 00:39:12 $
*
* Mondrian schema model class
*
*/
public class Join {
private String leftKey;
private String rightKey;
private String rightAlias;
private String leftAlias;
private Collection tables;
private Join join;
private Table table;
public String getLeftKey() {
return leftKey;
}
public String getRightKey() {
return rightKey;
}
public String getRightAlias() {
return rightAlias;
}
public String getLeftAlias() {
return leftAlias;
}
public Collection getTables() {
return tables;
}
public Join getJoin() {
return join;
}
public Table getTable() {
return table;
}
public void setLeftKey(String leftKey) {
this.leftKey = leftKey;
}
public void setRightKey(String rightKey) {
this.rightKey = rightKey;
}
public void setRightAlias(String rightAlias) {
this.rightAlias = rightAlias;
}
public void setLeftAlias(String leftAlias) {
this.leftAlias = leftAlias;
}
public void setTables(Collection tables) {
this.tables = tables;
}
public void setJoin(Join join) {
this.join = join;
}
public void setTable(Table table) {
this.table = table;
}
}
|