KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Bean class for toolbar button visible state
30  *
31  */

32 public class Level {
33     private String JavaDoc name;
34     private String JavaDoc column;
35     private String JavaDoc type;
36     private boolean uniqueMembers;
37     private String JavaDoc nameColumn;
38     private Collection properties;
39     private String JavaDoc parentColumn;
40     private String JavaDoc nullParentValue;
41
42     public String JavaDoc getName() {
43         return name;
44     }
45
46     public String JavaDoc getColumn() {
47         return column;
48     }
49
50     public String JavaDoc getType() {
51         return type;
52     }
53
54     public boolean isUniqueMembers() {
55         return uniqueMembers;
56     }
57
58     public String JavaDoc getNameColumn() {
59         return nameColumn;
60     }
61
62     public Collection getProperties() {
63         return properties;
64     }
65
66     public String JavaDoc getParentColumn() {
67         return parentColumn;
68     }
69
70     public String JavaDoc getNullParentValue() {
71         return nullParentValue;
72     }
73
74     public void setName(String JavaDoc name) {
75         this.name = name;
76     }
77
78     public void setColumn(String JavaDoc column) {
79         this.column = column;
80     }
81
82     public void setType(String JavaDoc type) {
83         this.type = type;
84     }
85
86     public void setUniqueMembers(boolean uniqueMembers) {
87         this.uniqueMembers = uniqueMembers;
88     }
89
90     public void setNameColumn(String JavaDoc nameColumn) {
91         this.nameColumn = nameColumn;
92     }
93
94     public void setProperties(Collection properties) {
95         this.properties = properties;
96     }
97
98     public void setParentColumn(String JavaDoc parentColumn) {
99         this.parentColumn = parentColumn;
100     }
101
102     public void setNullParentValue(String JavaDoc nullParentValue) {
103         this.nullParentValue = nullParentValue;
104     }
105 }
106
Popular Tags