KickJava   Java API By Example, From Geeks To Geeks.

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


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 Schema {
33     private Collection cubes;
34     private Collection dimensions;
35     private Collection roles;
36     private String JavaDoc virtualCubes;
37
38     public Collection getCubes() {
39         return cubes;
40     }
41
42     public Collection getDimensions() {
43         return dimensions;
44     }
45
46     public Collection getRoles() {
47         return roles;
48     }
49
50     public String JavaDoc getVirtualCubes() {
51         return virtualCubes;
52     }
53
54     public void setCubes(Collection cubes) {
55         this.cubes = cubes;
56     }
57
58     public void setDimensions(Collection dimensions) {
59         this.dimensions = dimensions;
60     }
61
62     public void setRoles(Collection roles) {
63         this.roles = roles;
64     }
65
66     public void setVirtualCubes(String JavaDoc virtualCubes) {
67         this.virtualCubes = virtualCubes;
68     }
69 }
70
Popular Tags