Revision 35498 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStore.java

View differences:

DataStore.java
8 8
import org.gvsig.metadata.Metadata;
9 9
import org.gvsig.timesupport.Interval;
10 10
import org.gvsig.timesupport.RelativeInterval;
11
import org.gvsig.timesupport.Time;
11 12
import org.gvsig.tools.dispose.Disposable;
12 13
import org.gvsig.tools.exception.BaseException;
13 14
import org.gvsig.tools.observer.ComplexWeakReferencingObservable;
......
271 272
	 */
272 273
	public DataQuery createQuery();
273 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
	 */
274 281
	public Interval getInterval();
275 282
	
276
	public Collection getInstants();
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();
277 289
	
278
	public Collection getInstants(Interval interval);
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);
279 299
}
280 300

  

Also available in: Unified diff