KickJava   Java API By Example, From Geeks To Geeks.

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


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 CalculatedMember {
31     private String JavaDoc name;
32     private String JavaDoc dimension;
33     private boolean visible;
34     private String JavaDoc formula;
35
36     public String JavaDoc getName() {
37         return name;
38     }
39
40     public String JavaDoc getDimension() {
41         return dimension;
42     }
43
44     public boolean isVisible() {
45         return visible;
46     }
47
48     public String JavaDoc getFormula() {
49         return formula;
50     }
51
52     public void setName(String JavaDoc name) {
53         this.name = name;
54     }
55
56     public void setDimension(String JavaDoc dimension) {
57         this.dimension = dimension;
58     }
59
60     public void setVisible(boolean visible) {
61         this.visible = visible;
62     }
63
64     public void setFormula(String JavaDoc formula) {
65         this.formula = formula;
66     }
67 }
68
Popular Tags