KickJava   Java API By Example, From Geeks To Geeks.

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


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 Dimension {
33     private String JavaDoc name;
34     private String JavaDoc foreignKey;
35     private Collection hierarchies;
36
37     public void setName(String JavaDoc name) {
38         this.name = name;
39     }
40
41     public void setForeignKey(String JavaDoc foreignKey) {
42         this.foreignKey = foreignKey;
43     }
44
45     public void setHierarchies(Collection hierarchies) {
46         this.hierarchies = hierarchies;
47     }
48
49     public String JavaDoc getName() {
50         return name;
51     }
52
53     public String JavaDoc getForeignKey() {
54         return foreignKey;
55     }
56
57     public Collection getHierarchies() {
58         return hierarchies;
59     }
60 }
61
Popular Tags