Revision 35115 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataSet.java
DataSet.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.dal; |
2 | 2 |
|
3 | 3 |
import org.gvsig.tools.dispose.Disposable; |
4 |
import org.gvsig.tools.exception.BaseException; |
|
4 | 5 |
import org.gvsig.tools.visitor.Visitable; |
6 |
import org.gvsig.tools.visitor.Visitor; |
|
5 | 7 |
|
6 | 8 |
/** |
7 | 9 |
* <p> Interface that represents a generic set of data. It may proceed either from a data |
... | ... | |
17 | 19 |
*/ |
18 | 20 |
public boolean isFromStore(DataStore store); |
19 | 21 |
|
22 |
/** |
|
23 |
* Provides each value of this Store to the provided {@link Visitor}. |
|
24 |
* The values received through the {@link Visitor#visit(Object)} method |
|
25 |
* may be transient, reused or externally modifiable, so they can't |
|
26 |
* be used to be stored in any external form out of the visit method. |
|
27 |
* |
|
28 |
* If you need to store any of the values out of the |
|
29 |
* {@link Visitor#visit(Object)} method execution, create a copy or clone |
|
30 |
* the received value in order to be stored. |
|
31 |
* |
|
32 |
* @param visitor |
|
33 |
* the visitor to apply to each value. |
|
34 |
* @exception BaseException |
|
35 |
* if there is an error while performing the visit |
|
36 |
*/ |
|
37 |
public void accept(Visitor visitor) throws BaseException; |
|
38 |
|
|
20 | 39 |
} |
Also available in: Unified diff