Revision 25791 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/dynobject/DynObject.java
DynObject.java | ||
---|---|---|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
4 | 4 |
* of the Valencian Gobernment (CIT) |
5 |
*
|
|
5 |
* |
|
6 | 6 |
* This program is free software; you can redistribute it and/or |
7 | 7 |
* modify it under the terms of the GNU General Public License |
8 | 8 |
* as published by the Free Software Foundation; either version 2 |
9 | 9 |
* of the License, or (at your option) any later version. |
10 |
*
|
|
10 |
* |
|
11 | 11 |
* This program is distributed in the hope that it will be useful, |
12 | 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | 14 |
* GNU General Public License for more details. |
15 |
*
|
|
15 |
* |
|
16 | 16 |
* You should have received a copy of the GNU General Public License |
17 | 17 |
* along with this program; if not, write to the Free Software |
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 | 19 |
* MA 02110-1301, USA. |
20 |
*
|
|
20 |
* |
|
21 | 21 |
*/ |
22 | 22 |
|
23 | 23 |
/* |
... | ... | |
26 | 26 |
*/ |
27 | 27 |
package org.gvsig.tools.dynobject; |
28 | 28 |
|
29 |
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException; |
|
30 |
import org.gvsig.tools.dynobject.exception.DynMethodException; |
|
31 |
|
|
29 | 32 |
/** |
30 | 33 |
* @author <a href="mailto:jjdelcerro@gvsig.org">Joaqu?n Jos? del Cerro</a> |
31 | 34 |
* @author <a href="mailto:cordin@disid.com">C?sar Ordi?ana</a> |
... | ... | |
36 | 39 |
|
37 | 40 |
void implement(DynClass dynClass); |
38 | 41 |
|
39 |
void delegate(DynObject[] dynObject);
|
|
40 |
|
|
42 |
void delegate(DynObject dynObject); |
|
43 |
|
|
41 | 44 |
Object getDynValue(String name) throws DynFieldNotFoundException ; |
42 | 45 |
|
43 | 46 |
void setDynValue(String name, Object value) throws DynFieldNotFoundException ; |
44 |
|
|
47 |
|
|
45 | 48 |
boolean hasDynValue(String name); |
49 |
|
|
50 |
Object invokeDynMethod(String name, DynObject context) throws DynMethodException; |
|
51 |
|
|
52 |
Object invokeDynMethod(int code, DynObject context) throws DynMethodException; |
|
46 | 53 |
} |
Also available in: Unified diff