Interface DataSet

All Superinterfaces:
org.gvsig.tools.dispose.Disposable, org.gvsig.tools.visitor.Visitable
All Known Subinterfaces:
CoverageSelection, CoverageSet, DataSelection, FeatureReferenceSelection, FeatureSelection, FeatureSet, RasterSet

public interface DataSet extends org.gvsig.tools.visitor.Visitable, org.gvsig.tools.dispose.Disposable

Interface that represents a generic set of data. It may proceed either from a data query, a user selection or a collection of locked elements.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(org.gvsig.tools.visitor.Visitor visitor)
    Provides each value of this Store to the provided Visitor.
    boolean
    Indicates whether this DataSet belongs to a specific store

    Methods inherited from interface org.gvsig.tools.dispose.Disposable

    dispose
  • Method Details

    • isFromStore

      boolean isFromStore(DataStore store)
      Indicates whether this DataSet belongs to a specific store
      Parameters:
      store - a DataStore
      Returns:
      true if this belongs to the given DataStore, false if not.
    • accept

      void accept(org.gvsig.tools.visitor.Visitor visitor) throws org.gvsig.tools.exception.BaseException
      Provides each value of this Store to the provided Visitor. The values received through the Visitor.visit(Object) method may be transient, reused or externally modifiable, so they can't be used to be stored in any external form out of the visit method. If you need to store any of the values out of the Visitor.visit(Object) method execution, create a copy or clone the received value in order to be stored.
      Specified by:
      accept in interface org.gvsig.tools.visitor.Visitable
      Parameters:
      visitor - the visitor to apply to each value.
      Throws:
      org.gvsig.tools.exception.BaseException - if there is an error while performing the visit