KickJava   Java API By Example, From Geeks To Geeks.

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


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
23 /**
24  * @author Dioendra Pokhrel
25  * @version $Revision: 1.3 $ $Date: 2006/04/12 00:39:11 $
26  *
27  * Mondrian schema model class
28  *
29  */

30 public class Closure {
31     private String JavaDoc parentColumn;
32     private String JavaDoc childColumn;
33     private Table table;
34
35     public String JavaDoc getParentColumn() {
36         return parentColumn;
37     }
38
39     public String JavaDoc getChildColumn() {
40         return childColumn;
41     }
42
43     public Table getTable() {
44         return table;
45     }
46
47     public void setParentColumn(String JavaDoc parentColumn) {
48         this.parentColumn = parentColumn;
49     }
50
51     public void setChildColumn(String JavaDoc childColumn) {
52         this.childColumn = childColumn;
53     }
54
55     public void setTable(Table table) {
56         this.table = table;
57     }
58 }
59
Popular Tags