svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / DataStoreParameters.java @ 23339
History | View | Annotate | Download (956 Bytes)
1 |
package org.gvsig.fmap.data; |
---|---|
2 |
|
3 |
/**
|
4 |
* <p>This interface defines and contents the parameters needed
|
5 |
* to build data sources. To register a new data source we need
|
6 |
* a class to use it (this class must implements DataStore interface)
|
7 |
* and the class to use the parameters (that must implements this
|
8 |
* interface)</p>
|
9 |
* <br>
|
10 |
* <p>This interface only needs a name of the data source type.
|
11 |
* Remainder parameters depends of linked DataStore and with it
|
12 |
* a new DataStore must be created.</p>
|
13 |
*
|
14 |
* @author
|
15 |
*
|
16 |
*/
|
17 |
import com.iver.utiles.XMLEntity; |
18 |
import com.iver.utiles.XMLEntity; |
19 |
|
20 |
public interface DataStoreParameters { |
21 |
|
22 |
public String getDataStoreName(); |
23 |
|
24 |
public boolean isValid(); |
25 |
|
26 |
public String getDescription(); |
27 |
|
28 |
public XMLEntity getXMLEntity();
|
29 |
|
30 |
public void loadFromXMLEntity(XMLEntity xmlEntity) |
31 |
throws InitializeException;
|
32 |
|
33 |
public DataStoreParameters cloneParameters() throws InitializeException; |
34 |
} |