svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / feature / FeatureStoreTimeSupport.java @ 44023
History | View | Annotate | Download (975 Bytes)
1 | 43135 | jjdelcerro | package org.gvsig.fmap.dal.feature; |
---|---|---|---|
2 | |||
3 | import java.util.Collection; |
||
4 | import org.gvsig.timesupport.Interval; |
||
5 | |||
6 | public interface FeatureStoreTimeSupport extends FeatureAttributeEmulator { |
||
7 | |||
8 | public String getAttributeName(); |
||
9 | |||
10 | public int getDataType(); |
||
11 | |||
12 | /**
|
||
13 | * Gets the {@link Interval} of the store, that means the temporal interval
|
||
14 | * where the store has valid data.
|
||
15 | *
|
||
16 | * @return a time interval or null if there is not time support
|
||
17 | */
|
||
18 | public Interval getInterval();
|
||
19 | |||
20 | /**
|
||
21 | * Gets all the possible values of time for which the store has data.
|
||
22 | *
|
||
23 | * @return a collection of {@link Time} objects.
|
||
24 | */
|
||
25 | public Collection getTimes(); |
||
26 | |||
27 | /**
|
||
28 | * Gets all the possible values of time for which the store has data and
|
||
29 | * intersects with an interval.
|
||
30 | *
|
||
31 | * @param interval the interval of time
|
||
32 | * @return a collection of {@link Time} objects.
|
||
33 | */
|
||
34 | public Collection getTimes(Interval interval); |
||
35 | |||
36 | } |