KickJava   Java API By Example, From Geeks To Geeks.

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


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 public class HierarchyGrant {
23     private String JavaDoc hierarchy;
24     private String JavaDoc access;
25     private String JavaDoc topLevel;
26
27     public HierarchyGrant() {
28         try {
29             jbInit();
30         } catch (Exception JavaDoc ex) {
31             ex.printStackTrace();
32         }
33     }
34
35     private void jbInit() throws Exception JavaDoc {
36     }
37
38     public void setHierarchy(String JavaDoc hierarchy) {
39         this.hierarchy = hierarchy;
40     }
41
42     public void setAccess(String JavaDoc access) {
43         this.access = access;
44     }
45
46     public void setTopLevel(String JavaDoc topLevel) {
47         this.topLevel = topLevel;
48     }
49
50     public String JavaDoc getHierarchy() {
51         return hierarchy;
52     }
53
54     public String JavaDoc getAccess() {
55         return access;
56     }
57
58     public String JavaDoc getTopLevel() {
59         return topLevel;
60     }
61 }
62
Popular Tags