KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > model > impl > PositionImpl


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.olap.model.impl;
14
15 import com.tonbeller.jpivot.olap.model.Member;
16 import com.tonbeller.jpivot.olap.model.Position;
17 import com.tonbeller.jpivot.olap.model.Visitor;
18
19 /**
20  * Created on 11.10.2002
21  *
22  * @author av
23  */

24 public class PositionImpl implements Position {
25   Member members[];
26
27   /**
28    * Returns the members.
29    * @return Member[]
30    */

31   public Member[] getMembers() {
32     return members;
33   }
34
35   /**
36    * Sets the members.
37    * @param members The members to set
38    */

39   public void setMembers(Member[] members) {
40     this.members = members;
41   }
42
43   public void accept(Visitor visitor) {
44     visitor.visitPosition(this);
45   }
46   
47   public Object JavaDoc getRootDecoree() {
48     return this;
49   }
50 }
51
Popular Tags