Interface FeatureTypeDefinitionsManager

All Known Implementing Classes:
AbstractFeatureTypeDefinitionsManager

public interface FeatureTypeDefinitionsManager
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(FeatureStore store, FeatureType featureType, org.gvsig.tools.dynobject.DynClass dynClass)
    Associate the DynClass to the feature type.
    void
    addModel(File model)
    Add the definitions of feature types in the file.
    boolean
    contains(FeatureStore store, FeatureType featureType)
    Return true if exists a DynClass defined associated to the feature type passed as parameter.
    org.gvsig.tools.dynobject.DynClass
    get(FeatureStore store, FeatureType featureType)
    Search if exists a DynClass associated to the feature type and return it.
    void
    remove(FeatureStore store, FeatureType featureType)
    Unlink the DynClass associated to the feature type.
  • Method Details

    • get

      org.gvsig.tools.dynobject.DynClass get(FeatureStore store, FeatureType featureType)
      Search if exists a DynClass associated to the feature type and return it. If do not exists a DynClass for this feature type return the feature type as the default dynClass for it.
      Parameters:
      store -
      featureType -
      Returns:
      the DynClass associated to this feature type
    • contains

      boolean contains(FeatureStore store, FeatureType featureType)
      Return true if exists a DynClass defined associated to the feature type passed as parameter.
      Parameters:
      store -
      featureType -
      Returns:
    • add

      void add(FeatureStore store, FeatureType featureType, org.gvsig.tools.dynobject.DynClass dynClass)
      Associate the DynClass to the feature type. This association persist betwen sessions.
      Parameters:
      store -
      featureType -
      dynClass -
    • remove

      void remove(FeatureStore store, FeatureType featureType)
      Unlink the DynClass associated to the feature type. This force reload next time to call "get" for this feature type.
      Parameters:
      store -
      featureType -
    • addModel

      void addModel(File model)
      Add the definitions of feature types in the file.
      Parameters:
      model -