KickJava   Java API By Example, From Geeks To Geeks.

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


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 Cube {
33     private Collection dimensions;
34     private Collection measures;
35     private Collection calculatedMember;
36     private String JavaDoc name;
37     private Table table;
38
39     public Collection getDimensions() {
40         return dimensions;
41     }
42
43     public Collection getMeasures() {
44         return measures;
45     }
46
47     public Collection getCalculatedMember() {
48         return calculatedMember;
49     }
50
51     public String JavaDoc getName() {
52         return name;
53     }
54
55     public Table getTable() {
56         return table;
57     }
58
59     public void setDimensions(Collection dimensions) {
60         this.dimensions = dimensions;
61     }
62
63     public void setMeasures(Collection measures) {
64         this.measures = measures;
65     }
66
67     public void setCalculatedMember(Collection calculatedMember) {
68         this.calculatedMember = calculatedMember;
69     }
70
71     public void setName(String JavaDoc name) {
72         this.name = name;
73     }
74
75     public void setTable(Table table) {
76         this.table = table;
77     }
78 }
79
Popular Tags