KickJava   Java API By Example, From Geeks To Geeks.

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


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:12 $
26  *
27  * Mondrian schema model class
28  *
29  */

30 public class Measure {
31     private String JavaDoc name;
32     private String JavaDoc column;
33     private String JavaDoc aggregator;
34     private String JavaDoc formatString;
35     private String JavaDoc caption;
36     private boolean visible;
37
38     public String JavaDoc getName() {
39         return name;
40     }
41
42     public String JavaDoc getColumn() {
43         return column;
44     }
45
46     public String JavaDoc getAggregator() {
47         return aggregator;
48     }
49
50     public String JavaDoc getFormatString() {
51         return formatString;
52     }
53
54     public String JavaDoc getCaption() {
55         return caption;
56     }
57
58     public boolean isVisible() {
59         return visible;
60     }
61
62     public void setName(String JavaDoc name) {
63         this.name = name;
64     }
65
66     public void setColumn(String JavaDoc column) {
67         this.column = column;
68     }
69
70     public void setAggregator(String JavaDoc aggregator) {
71         this.aggregator = aggregator;
72     }
73
74     public void setFormatString(String JavaDoc formatString) {
75         this.formatString = formatString;
76     }
77
78     public void setCaption(String JavaDoc caption) {
79         this.caption = caption;
80     }
81
82     public void setVisible(boolean visible) {
83         this.visible = visible;
84     }
85 }
86
Popular Tags