Revision 35115 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/DataStore.java

View differences:

DataStore.java
153 153
	 */
154 154
	DataSet getDataSet(DataQuery dataQuery) throws DataException;
155 155

  
156
    /**
157
     * Provides each value of this Store to the provided {@link Visitor}.
158
     * The values received through the {@link Visitor#visit(Object)} method
159
     * may be transient, reused or externally modifiable, so they can't
160
     * be used to be stored in any external form out of the visit method.
161
     * 
162
     * If you need to store any of the values out of the
163
     * {@link Visitor#visit(Object)} method execution, create a copy or clone
164
     * the received value in order to be stored.
165
     * 
166
     * @param visitor
167
     *            the visitor to apply to each value.
168
     * @exception BaseException
169
     *                if there is an error while performing the visit
170
     */
171
    public void accept(Visitor visitor) throws BaseException;
172

  
156 173
	/**
157
	 * Provides each value of this container to the provided {@link Visitor}.
158
	 * 
159
	 * @param visitor
160
	 *            the visitor to apply to each value.
161
	 * @param dataQuery
162
	 *            defines the properties of the data to visit
163
	 * @exception BaseException
164
	 *                if there is an error while performing the visit
165
	 */
174
     * Provides each value of this Store to the provided {@link Visitor}.
175
     * The values received through the {@link Visitor#visit(Object)} method
176
     * may be transient, reused or externally modifiable, so they can't
177
     * be used to be stored in any external form out of the visit method.
178
     * 
179
     * If you need to store any of the values out of the
180
     * {@link Visitor#visit(Object)} method execution, create a copy or clone
181
     * the received value in order to be stored.
182
     * 
183
     * @param visitor
184
     *            the visitor to apply to each value.
185
     * @param dataQuery
186
     *            defines the properties of the data to visit
187
     * @exception BaseException
188
     *                if there is an error while performing the visit
189
     */
166 190
	public void accept(Visitor visitor, DataQuery dataQuery)
167 191
			throws BaseException;
168 192

  

Also available in: Unified diff