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.
Modifier and Type | Method and Description |
---|---|
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
|
dispose
boolean isFromStore(DataStore store)
store
- a DataStorevoid accept(Visitor visitor) throws BaseException
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.accept
in interface Visitable
visitor
- the visitor to apply to each value.BaseException
- if there is an error while performing the visit