KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > impl > test > ComponentImpl


1 /*
2  * Sun Public License Notice
3  *
4  * The contents of this file are subject to the Sun Public License
5  * Version 1.0 (the "License"). You may not use this file except in
6  * compliance with the License. A copy of the License is available at
7  * http://www.sun.com/
8  *
9  * The Original Code is NetBeans. The Initial Developer of the Original
10  * Code is Sun Microsystems, Inc. Portions Copyright 1997-2002 Sun
11  * Microsystems, Inc. All Rights Reserved.
12  */

13
14 package impl.test;
15
16 import org.netbeans.mdr.handlers.*;
17 import org.netbeans.mdr.storagemodel.*;
18
19 public abstract class ComponentImpl extends InstanceHandler implements test.Component {
20     
21     protected ComponentImpl(StorableObject storable) {
22         super(storable);
23     }
24
25     public void setName(java.lang.String JavaDoc newValue) {
26         if (!"TestObjectInterceptor".equals(newValue))
27             super_setName(newValue);
28     }
29
30     public abstract void super_setName(java.lang.String JavaDoc newValue);
31 }
32
Popular Tags