01: /*
02: * CoadunationLib: The coaduntion implementation library.
03: * Copyright (C) 2006 Rift IT Contracting
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
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: * Return an int value
44: */
45: public String getString();
46:
47: /**
48: * Return an int value
49: */
50: public int getInt();
51:
52: /**
53: * This method returns a key value.
54: */
55: public TestKey getAKeyValue();
56:
57: /**
58: * This method addes a sub interface
59: */
60: public SubInterface1 addSubInterface(String key);
61:
62: /**
63: * This method retrieves a sub interface
64: */
65: public SubInterface1 getSubInterface(String key) throws Exception;
66:
67: /**
68: * This method removes a sub interface
69: */
70: public void removeSubInterface(String key);
71: }
|