Revision 35779 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/spi/DataStoreProvider.java
DataStoreProvider.java | ||
---|---|---|
1 | 1 |
package org.gvsig.fmap.dal.spi; |
2 | 2 |
|
3 |
import java.util.Collection; |
|
3 | 4 |
import java.util.Iterator; |
4 | 5 |
|
5 | 6 |
import org.gvsig.fmap.dal.DataServerExplorer; |
... | ... | |
10 | 11 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
11 | 12 |
import org.gvsig.fmap.dal.resource.Resource; |
12 | 13 |
import org.gvsig.fmap.dal.resource.spi.ResourceProvider; |
14 |
import org.gvsig.timesupport.Interval; |
|
15 |
import org.gvsig.timesupport.Time; |
|
13 | 16 |
import org.gvsig.tools.dispose.Disposable; |
14 | 17 |
import org.gvsig.tools.dynobject.DynObject; |
15 | 18 |
|
... | ... | |
116 | 119 |
*/ |
117 | 120 |
public String getFullName(); |
118 | 121 |
|
122 |
/** |
|
123 |
* Gets the {@link Interval} of the store, that means the temporal |
|
124 |
* interval where the store has valid data. |
|
125 |
* @return |
|
126 |
* a time interval or null if there is not time support |
|
127 |
*/ |
|
128 |
public Interval getInterval(); |
|
129 |
|
|
130 |
/** |
|
131 |
* Gets all the possible values of time for which the store has data. |
|
132 |
* @return |
|
133 |
* a collection of {@link Time} objects. |
|
134 |
*/ |
|
135 |
public Collection getTimes(); |
|
136 |
|
|
137 |
/** |
|
138 |
* Gets all the possible values of time for which the store has data |
|
139 |
* and intersects with an interval. |
|
140 |
* @param interval |
|
141 |
* the interval of time |
|
142 |
* @return |
|
143 |
* a collection of {@link Time} objects. |
|
144 |
*/ |
|
145 |
public Collection getTimes(Interval interval); |
|
146 |
|
|
119 | 147 |
} |
Also available in: Unified diff