Package org.gvsig.fmap.dal
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 TypeMethodDescriptionvoidaccept(org.gvsig.tools.visitor.Visitor visitor) Provides each value of this Store to the providedVisitor.booleanisFromStore(DataStore store) Indicates whether this DataSet belongs to a specific storeMethods inherited from interface org.gvsig.tools.dispose.Disposable
dispose
-
Method Details
-
isFromStore
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 providedVisitor. The values received through theVisitor.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 theVisitor.visit(Object)method execution, create a copy or clone the received value in order to be stored.- Specified by:
acceptin interfaceorg.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
-