Revision 24015

View differences:

branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/FeatureManager.java
47 47
import java.util.Iterator;
48 48

  
49 49
import org.gvsig.fmap.data.exceptions.DataException;
50
import org.gvsig.fmap.data.feature.EditableFeature;
51
import org.gvsig.fmap.data.feature.Feature;
52
import org.gvsig.fmap.data.feature.FeatureAttributeDescriptor;
53
import org.gvsig.fmap.data.feature.FeatureReference;
54
import org.gvsig.fmap.data.feature.FeatureStore;
55
import org.gvsig.fmap.data.feature.FeatureType;
50
import org.gvsig.fmap.data.feature.*;
56 51
import org.gvsig.fmap.data.feature.impl.expansionadapter.ExpansionAdapter;
57 52

  
58 53

  
......
111 106
    }
112 107

  
113 108
    /**
114
     * DOCUMENT ME!
115
     *
116
     * @param id DOCUMENT ME!
117
     *
118
     * @return DOCUMENT ME!
119
     * @throws IsNotFeatureSettingException
109
     * Returns a Feature of the default type.
110
     * 
111
     * @param id
112
     *            the feature reference
113
     * @param store
114
     *            the store to get the feature from
115
     * @return a Feature with the given reference
116
     * @throws DataException
117
     *             if there is an error getting the Feature
120 118
     */
119
    public Feature getFeature(FeatureReference id, FeatureStore store)
120
            throws DataException {
121
        return getFeature(id, store, null);
122
    }
123

  
124
    /**
125
     * Returns a Feature of the given type.
126
     * 
127
     * @param id
128
     *            the feature reference
129
     * @param store
130
     *            the store to get the feature from
131
     * @param featureType
132
     *            the type of the feature to return
133
     * @return a Feature with the given reference
134
     * @throws DataException
135
     *             if there is an error getting the Feature
136
     */
121 137
    public Feature getFeature(FeatureReference id, FeatureStore store,
122 138
			FeatureType featureType) throws DataException {
123 139
    	// FIXME: y si el featuretype que paso esta modificado.

Also available in: Unified diff