Revision 35499 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataManager.java
DataManager.java | ||
---|---|---|
32 | 32 |
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException; |
33 | 33 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
34 | 34 |
import org.gvsig.fmap.dal.feature.Feature; |
35 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
35 | 36 |
import org.gvsig.fmap.dal.feature.FeatureAttributeGetter; |
36 | 37 |
import org.gvsig.fmap.dal.feature.FeatureIndex; |
37 | 38 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
... | ... | |
373 | 374 |
FeatureStore featureStore, FeatureQuery featureQuery, int pageSize) |
374 | 375 |
throws BaseException; |
375 | 376 |
|
377 |
/** |
|
378 |
* Registers a class that can be used to create a {@link FeatureAttributeGetter} |
|
379 |
* and associate it to a {@link FeatureAttributeDescriptor}. |
|
380 |
* |
|
381 |
* @param name |
|
382 |
* the name used to register the class. |
|
383 |
* @param clazz |
|
384 |
* it has to be an instance of {@link FeatureAttributeDescriptor} |
|
385 |
*/ |
|
376 | 386 |
public void registerFeatureAttributeGetter(String name, Class clazz); |
377 | 387 |
|
388 |
/** |
|
389 |
* Creates a {@link FeatureAttributeGetter} by name. If there is not any class |
|
390 |
* registered with this name or if there is any error an exception is thrown. |
|
391 |
* |
|
392 |
* @param name |
|
393 |
* the name that was used to register the class |
|
394 |
* @return |
|
395 |
* a {@link FeatureAttributeGetter} |
|
396 |
* @throws InitializeException |
|
397 |
* if there is any error creating the object |
|
398 |
*/ |
|
378 | 399 |
public FeatureAttributeGetter createFeatureAttributeGetter(String name) throws InitializeException; |
379 | 400 |
} |
Also available in: Unified diff