svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.api / src / main / java / org / gvsig / featureform / swing / FeatureFormDefinitionsProvider.java @ 42512
History | View | Annotate | Download (945 Bytes)
1 |
|
---|---|
2 |
package org.gvsig.featureform.swing; |
3 |
|
4 |
import java.io.IOException; |
5 |
import java.util.Iterator; |
6 |
import org.gvsig.featureform.swing.FeatureFormDefinitionsProvider.Entry; |
7 |
import org.gvsig.fmap.dal.exception.DataException; |
8 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
9 |
import org.gvsig.tools.dynobject.DynClass; |
10 |
|
11 |
|
12 |
public interface FeatureFormDefinitionsProvider extends Iterable<Entry> { |
13 |
|
14 |
public interface Entry extends Comparable<Entry>{ |
15 |
public DynClass getDynClass();
|
16 |
public String getKey(); |
17 |
public String getXml(); |
18 |
public boolean setXml(String xml); |
19 |
} |
20 |
|
21 |
public Entry get(FeatureStore store) throws DataException; |
22 |
|
23 |
public void put(Entry entry) throws DataException, IOException; |
24 |
|
25 |
@Override
|
26 |
public Iterator<Entry> iterator(); |
27 |
|
28 |
public void put(FeatureStore store) throws DataException, IOException; |
29 |
|
30 |
public DynClass getDynClass(FeatureStore store) throws DataException; |
31 |
|
32 |
} |