Statistics
| Revision:

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 / datastruct / Param.java @ 2438

History | View | Annotate | Download (2.08 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.datastruct;
23

    
24
import org.gvsig.tools.persistence.Persistent;
25

    
26
/**
27
 * Interfaz que representa un par?metro. Los atributos principales de su implementaci?n ser?n:
28
 * <UL>
29
 * <LI>type: tipo de par?metro que tendr? un valor correspondiente a las variables estaticas de
30
 * Params.</LI>
31
 * <LI>id: que contiene el identificador del par?metro en cadena de texto</LI>
32
 * <LI>defaultValue: que ser? el valor por defecto asignado al par?metro</LI>
33
 * <LI>list: que contiene una lista de valores con datos asociados al par?metro en concreto</LI>
34
 * </UL>
35
 * . Por ejemplo, para una selecci?n por lista de valores tendr? la lista de valores a
36
 * seleccionar. Para un slider tendr? el valor m?ximo, el m?nimo, el intervalo menor
37
 * y el mayor. Para una selecci?n por check esta lista puede ser vacia.
38
 *
39
 * @author Nacho Brodin (nachobrodin@gmail.com)
40
 *
41
 */
42
public interface Param extends Persistent {
43
        public int getType();
44
        public void setType(int type);
45
        public String getId();
46
        public void setId(String id);
47
        public Object getDefaultValue();
48
        public void setDefaultValue(Object defaultValue);
49
        public String[] getList();
50
        public void setList(String[] list);
51
        public void setManagerID(String id);
52
}