KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > rift > coad > lib > bean > test > MainInterface1


1 /*
2  * CoadunationLib: The coaduntion implementation library.
3  * Copyright (C) 2006 Rift IT Contracting
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  *
19  * MainInterface1.java
20  *
21  * This is a testing interface.
22  */

23
24 package com.rift.coad.lib.bean.test;
25
26 /**
27  * This is a testing interface.
28  *
29  * @author Brett Chaldecott
30  */

31 public interface MainInterface1 {
32     /**
33      * The void method
34      */

35     public void callVoid();
36     
37     /**
38      * This method throws and exceptions
39      */

40     public void throwException() throws TestProxyException;
41     
42     
43     /**
44      * Return an int value
45      */

46     public String JavaDoc getString();
47     
48     
49     /**
50      * Return an int value
51      */

52     public int getInt();
53     
54     
55     /**
56      * This method returns a key value.
57      */

58     public TestKey getAKeyValue();
59     
60     
61     /**
62      * This method addes a sub interface
63      */

64     public SubInterface1 addSubInterface(String JavaDoc key);
65     
66     /**
67      * This method retrieves a sub interface
68      */

69     public SubInterface1 getSubInterface(String JavaDoc key) throws Exception JavaDoc ;
70     
71     /**
72      * This method removes a sub interface
73      */

74     public void removeSubInterface(String JavaDoc key);
75 }
76
Popular Tags