KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > test > olap > TestNonEmpty


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.test.olap;
14
15 import com.tonbeller.jpivot.olap.navi.NonEmpty;
16
17 /**
18  * Created on 06.12.2002
19  *
20  * @author av
21  */

22 public class TestNonEmpty extends TestExtensionSupport implements NonEmpty {
23   boolean value;
24   
25   /**
26    * @see com.tonbeller.jpivot.olap.navi.NonEmpty#isNonEmpty()
27    */

28   public boolean isNonEmpty() {
29     return value;
30   }
31
32   /**
33    * @see com.tonbeller.jpivot.olap.navi.NonEmpty#setNonEmpty(boolean)
34    */

35   public void setNonEmpty(boolean nonEmpty) {
36     value = nonEmpty;
37     fireModelChanged();
38   }
39
40 }
41
Popular Tags