Statistics
| Revision:

svn-gvsig-desktop / branches / org.gvsig.desktop-2018a / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / raster / BandAttributeDescriptor.java @ 43876

History | View | Annotate | Download (2.01 KB)

1
/* gvSIG. Desktop Geographic Information System.
2
 *
3
 * Copyright ? 2007-2016 gvSIG Association
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA  02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us
21
 * at info AT gvsig.com, or visit our website www.gvsig.com.
22
 */
23

    
24
package org.gvsig.fmap.dal.raster;
25

    
26
import java.util.List;
27

    
28
import org.gvsig.tools.lang.Cloneable;
29
import org.gvsig.tools.persistence.Persistent;
30

    
31
/**
32
 * This class describes an attribute of band. This attribute is defined by a
33
 * name, description and a list with the available values.
34
 *
35
 * @author <a href="mailto:lmarques@disid.com">Lluis Marques</a>
36
 *
37
 */
38
public interface BandAttributeDescriptor extends Persistent, Cloneable {
39

    
40
    /**
41
     * Gets band of this attribute descriptor
42
     *
43
     * @return band Attribute descriptor band
44
     */
45
    public int getBand();
46

    
47
    /**
48
     * Name of attribute
49
     *
50
     * @return Attribute name
51
     */
52
    public String getName();
53

    
54
    /**
55
     * Description of attribute
56
     *
57
     * @return Attribute description
58
     */
59
    public String getDescription();
60

    
61
    public Object getValue();
62

    
63
    /**
64
     * Available values of this attribute band
65
     *
66
     * @return values A list with attribute band values
67
     */
68
    public List<Object> getAvailableValues();
69

    
70
    /**
71
     * String units of the levels
72
     */
73
    public String getUnits();
74
}