Revision 37297 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStore.java
DataStore.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.dal; |
2 | 2 |
|
3 |
import java.util.Collection; |
|
3 | 4 |
import java.util.Iterator; |
4 | 5 |
|
5 | 6 |
import org.gvsig.fmap.dal.exception.DataException; |
6 | 7 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
7 | 8 |
import org.gvsig.metadata.Metadata; |
9 |
import org.gvsig.timesupport.Interval; |
|
10 |
import org.gvsig.timesupport.RelativeInterval; |
|
11 |
import org.gvsig.timesupport.Time; |
|
8 | 12 |
import org.gvsig.tools.dispose.Disposable; |
9 | 13 |
import org.gvsig.tools.exception.BaseException; |
10 | 14 |
import org.gvsig.tools.observer.ComplexWeakReferencingObservable; |
... | ... | |
267 | 271 |
* @throws DataException |
268 | 272 |
*/ |
269 | 273 |
public DataQuery createQuery(); |
274 |
|
|
275 |
/** |
|
276 |
* Gets the {@link Interval} of the store, that means the temporal |
|
277 |
* interval where the store has valid data. |
|
278 |
* @return |
|
279 |
* a time interval or null if there is not time support |
|
280 |
*/ |
|
281 |
public Interval getInterval(); |
|
282 |
|
|
283 |
/** |
|
284 |
* Gets all the possible values of time for which the store has data. |
|
285 |
* @return |
|
286 |
* a collection of {@link Time} objects. |
|
287 |
*/ |
|
288 |
public Collection getTimes(); |
|
289 |
|
|
290 |
/** |
|
291 |
* Gets all the possible values of time for which the store has data |
|
292 |
* and intersects with an interval. |
|
293 |
* @param interval |
|
294 |
* the interval of time |
|
295 |
* @return |
|
296 |
* a collection of {@link Time} objects. |
|
297 |
*/ |
|
298 |
public Collection getTimes(Interval interval); |
|
270 | 299 |
} |
271 | 300 |
|
Also available in: Unified diff