gvsig-raster / org.gvsig.raster / trunk / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.api / src / main / java / org / gvsig / fmap / dal / coverage / store / TRasterStore.java @ 2443
History | View | Annotate | Download (2.65 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
*/
|
22 |
package org.gvsig.fmap.dal.coverage.store; |
23 |
|
24 |
import org.gvsig.fmap.dal.coverage.exception.OperationNotSupportedException; |
25 |
import org.gvsig.fmap.dal.coverage.exception.RmfSerializerException; |
26 |
import org.gvsig.fmap.dal.coverage.exception.TimeException; |
27 |
import org.gvsig.fmap.dal.coverage.store.props.TimeSeries; |
28 |
import org.gvsig.timesupport.Time; |
29 |
|
30 |
/**
|
31 |
* This interfaz is implemented by all data stores that support time
|
32 |
*
|
33 |
* @author Nacho Brodin (nachobrodin@gmail.com)
|
34 |
*/
|
35 |
public interface TRasterStore { |
36 |
/**
|
37 |
* Assigns the time for read information of the right source. The difference with setTime(SerialInfo time)
|
38 |
* is that this method selects the time from the source that has been selected previously. This is because
|
39 |
* Time variable only has time information and it has not serial information.
|
40 |
* @param time
|
41 |
* @throws TimeException
|
42 |
* @throws OperationNotSupportedException
|
43 |
*/
|
44 |
public void setTime(Time time) throws TimeException, OperationNotSupportedException; |
45 |
|
46 |
/**
|
47 |
* Selects the next image
|
48 |
* @throws OperationNotSupportedException
|
49 |
*/
|
50 |
public void selectNext() throws OperationNotSupportedException; |
51 |
|
52 |
/**
|
53 |
* Selects the previous image
|
54 |
* @throws OperationNotSupportedException
|
55 |
*/
|
56 |
public void selectPrev() throws OperationNotSupportedException; |
57 |
|
58 |
/**
|
59 |
* Goes to the selected position in the image list
|
60 |
* @param position
|
61 |
* @throws OperationNotSupportedException
|
62 |
*/
|
63 |
public void goTo(int position) throws OperationNotSupportedException; |
64 |
|
65 |
/**
|
66 |
* Gets the serial information
|
67 |
* @return
|
68 |
* @throws RmfSerializerException
|
69 |
*/
|
70 |
public TimeSeries getTimeSerials() throws RmfSerializerException; |
71 |
|
72 |
/**
|
73 |
* Sets the serial information
|
74 |
* @throws RmfSerializerException
|
75 |
*/
|
76 |
public void setTimeSerials(TimeSeries serialInfo) throws RmfSerializerException; |
77 |
} |