org.gvsig.fmap.dal
Interface DataSet

All Superinterfaces:
Disposable, Visitable
All Known Subinterfaces:
CoverageSelection, CoverageSet, DataSelection, FeatureReferenceSelection, FeatureSelection, FeatureSet

public interface DataSet
extends Visitable, 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
 void accept(Visitor visitor)
          Provides each value of this Store to the provided Visitor.
 boolean isFromStore(DataStore store)
          Indicates whether this DataSet belongs to a specific store
 
Methods inherited from interface org.gvsig.tools.dispose.Disposable
dispose
 

Method Detail

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(Visitor visitor)
            throws 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 Visitable
Parameters:
visitor - the visitor to apply to each value.
Throws:
BaseException - if there is an error while performing the visit


Copyright © 2004-2012 gvSIG. All Rights Reserved.