KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openi > mondrian > schema > Join


1 /*********************************************************************************
2  * The contents of this file are subject to the OpenI Public License Version 1.0
3  * ("License"); You may not use this file except in compliance with the
4  * License. You may obtain a copy of the License at
5  * http://www.openi.org/docs/LICENSE.txt
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is: OpenI Open Source
12  *
13  * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
14  * Portions created by Loyalty Matrix, Inc. are
15  * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
16  *
17  * Contributor(s): ______________________________________.
18  *
19  ********************************************************************************/

20 package org.openi.mondrian.schema;
21
22 import java.util.*;
23
24
25 /**
26  * @author Dioendra Pokhrel
27  * @version $Revision: 1.3 $ $Date: 2006/04/12 00:39:12 $
28  *
29  * Mondrian schema model class
30  *
31  */

32 public class Join {
33     private String JavaDoc leftKey;
34     private String JavaDoc rightKey;
35     private String JavaDoc rightAlias;
36     private String JavaDoc leftAlias;
37     private Collection tables;
38     private Join join;
39     private Table table;
40
41     public String JavaDoc getLeftKey() {
42         return leftKey;
43     }
44
45     public String JavaDoc getRightKey() {
46         return rightKey;
47     }
48
49     public String JavaDoc getRightAlias() {
50         return rightAlias;
51     }
52
53     public String JavaDoc getLeftAlias() {
54         return leftAlias;
55     }
56
57     public Collection getTables() {
58         return tables;
59     }
60
61     public Join getJoin() {
62         return join;
63     }
64
65     public Table getTable() {
66         return table;
67     }
68
69     public void setLeftKey(String JavaDoc leftKey) {
70         this.leftKey = leftKey;
71     }
72
73     public void setRightKey(String JavaDoc rightKey) {
74         this.rightKey = rightKey;
75     }
76
77     public void setRightAlias(String JavaDoc rightAlias) {
78         this.rightAlias = rightAlias;
79     }
80
81     public void setLeftAlias(String JavaDoc leftAlias) {
82         this.leftAlias = leftAlias;
83     }
84
85     public void setTables(Collection tables) {
86         this.tables = tables;
87     }
88
89     public void setJoin(Join join) {
90         this.join = join;
91     }
92
93     public void setTable(Table table) {
94         this.table = table;
95     }
96 }
97
Popular Tags