Revision 6302 org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster/org.gvsig.fmap.dal.raster/org.gvsig.fmap.dal.raster.spi/src/main/java/org/gvsig/fmap/dal/raster/spi/RasterStoreProviderServices.java

View differences:

RasterStoreProviderServices.java
22 22
 */
23 23
package org.gvsig.fmap.dal.raster.spi;
24 24

  
25
import java.util.List;
26

  
25 27
import org.gvsig.fmap.dal.DataManager;
28
import org.gvsig.fmap.dal.raster.api.BandAttributeDescriptor;
29
import org.gvsig.fmap.dal.raster.api.BandDescriptor;
26 30
import org.gvsig.fmap.dal.raster.api.RasterStore;
27 31
import org.gvsig.fmap.dal.resource.Resource;
28 32
import org.gvsig.fmap.dal.resource.spi.ResourceProvider;
......
41 45
     * @param data
42 46
     */
43 47
    public void notifyChange(String notification, ResourceProvider data);
44

  
45

  
48
    
46 49
    /**
47 50
     * Call this to send a notification to observers of this store relative to
48 51
     * Resources
49 52
     *
50 53
     * @param notification
54
     * @param resource 
51 55
     */
52 56
    public void notifyChange(String notification, Resource resource);
53 57

  
54

  
55 58
    /**
56
     * Reaturn {@link DataManager} instance.
57
     *
58
     * @return
59
     * @return Returns {@link DataManager} instance.
59 60
     */
60 61
    public DataManager getManager();
61 62

  
62

  
63 63
    /**
64
     * Return the instance of {@link RasterStoreProvider} for this store.
65
     *
66
     * @return
64
     * @return Returns the instance of {@link RasterStoreProvider} for this store.
67 65
     */
68 66
    public RasterStoreProvider getProvider();
69 67

  
70

  
71 68
    /**
72
     * Return current RasterStore
73
     *
74
     * @return
69
     * @return Returns current RasterStore
75 70
     */
76 71
    public RasterStore getRasterStore();
77 72

  
78 73
    /**
79
     * Return current FeatureStore name.
80
     *
81
     * @return
74
     * @return Returns current FeatureStore name.
82 75
     */
83 76
    public String getName();
77
    
78
    /**
79
     * Creates a {@link BandDescriptor} object.
80
     * 
81
     * @param band
82
     *            BandDescriptor band
83
     * @param attributes
84
     *            A list with available {@link BandAttributeDescriptor}.
85
     * @return New instance of band descriptor
86
     */
87
    public BandDescriptor createBandDescriptor(int band, List<BandAttributeDescriptor> attributes);
84 88

  
89
    /**
90
     * Creates a {@link BandAttributeDescriptor}.
91
     * 
92
     * @param band
93
     *            Band of attribute descriptor.
94
     * @param name
95
     *            Name of attribute
96
     * @param description
97
     *            Descriptor of attribute
98
     * @param values
99
     *            Values of band attribute descriptor
100
     * @return A new {@link BandAttributeDescriptor}
101
     */
102
    public BandAttributeDescriptor createBandAttributeDescriptor(int band, String name,
103
        String description, List<Object> values);
85 104
}

Also available in: Unified diff