svn-gvsig-desktop / trunk / libraries / libGDBMS / src / main / java / com / hardcode / gdbms / engine / data / driver / ObjectDriver.java @ 6316
History | View | Annotate | Download (732 Bytes)
1 |
package com.hardcode.gdbms.engine.data.driver; |
---|---|
2 |
|
3 |
import com.hardcode.gdbms.engine.data.edition.DataWare; |
4 |
|
5 |
|
6 |
|
7 |
/**
|
8 |
* Interfaz que define los m?todos de acceso de lectura
|
9 |
*
|
10 |
* @author Fernando Gonz?lez Cort?s
|
11 |
*/
|
12 |
public interface ObjectDriver extends GDBMSDriver, ReadAccess { |
13 |
/**
|
14 |
* Gets the primary key field indexes
|
15 |
*
|
16 |
* @return int[]
|
17 |
*
|
18 |
* @throws DriverException If the operation fails
|
19 |
*/
|
20 |
public int[] getPrimaryKeys() throws DriverException; |
21 |
|
22 |
/**
|
23 |
* Writes the content in the DataWare to the specified file
|
24 |
*
|
25 |
* @param dataWare DataWare with the contents
|
26 |
*/
|
27 |
void write(DataWare dataWare) throws DriverException; |
28 |
|
29 |
public void reload() throws DriverException; |
30 |
} |