Revision 37297 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataManager.java
DataManager.java | ||
---|---|---|
33 | 33 |
import org.gvsig.fmap.dal.exception.ValidateDataParametersException; |
34 | 34 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
35 | 35 |
import org.gvsig.fmap.dal.feature.Feature; |
36 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
37 |
import org.gvsig.fmap.dal.feature.FeatureAttributeGetter; |
|
36 | 38 |
import org.gvsig.fmap.dal.feature.FeatureIndex; |
37 | 39 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
38 | 40 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
... | ... | |
380 | 382 |
public EditableFeatureType createFeatureType(); |
381 | 383 |
|
382 | 384 |
public List getDataTypes(); |
385 |
|
|
386 |
/** |
|
387 |
* Registers a class that can be used to create a {@link FeatureAttributeGetter} |
|
388 |
* and associate it to a {@link FeatureAttributeDescriptor}. |
|
389 |
* |
|
390 |
* @param name |
|
391 |
* the name used to register the class. |
|
392 |
* @param clazz |
|
393 |
* it has to be an instance of {@link FeatureAttributeDescriptor} |
|
394 |
*/ |
|
395 |
public void registerFeatureAttributeGetter(String name, Class clazz); |
|
396 |
|
|
397 |
/** |
|
398 |
* Creates a {@link FeatureAttributeGetter} by name. If there is not any class |
|
399 |
* registered with this name or if there is any error an exception is thrown. |
|
400 |
* |
|
401 |
* @param name |
|
402 |
* the name that was used to register the class |
|
403 |
* @return |
|
404 |
* a {@link FeatureAttributeGetter} |
|
405 |
* @throws InitializeException |
|
406 |
* if there is any error creating the object |
|
407 |
*/ |
|
408 |
public FeatureAttributeGetter createFeatureAttributeGetter(String name) throws InitializeException; |
|
383 | 409 |
} |
Also available in: Unified diff