Revision 31699
branches/v2_0_0_prep/libraries/libFMap_mapcontext/src-test/org/gvsig/fmap/mapcontext/persistence/DummyDBFeatureStore.java | ||
---|---|---|
532 | 532 |
// TODO Auto-generated method stub |
533 | 533 |
return null; |
534 | 534 |
} |
535 |
} |
|
535 |
|
|
536 |
public void clear() { |
|
537 |
// Nothing to do |
|
538 |
} |
|
539 |
} |
branches/v2_0_0_prep/libraries/libFMap_mapcontext/src-test/org/gvsig/fmap/mapcontext/persistence/DummyFileFeatureStore.java | ||
---|---|---|
533 | 533 |
// TODO Auto-generated method stub |
534 | 534 |
return null; |
535 | 535 |
} |
536 |
} |
|
536 |
|
|
537 |
public void clear() { |
|
538 |
// Nothing to do |
|
539 |
} |
|
540 |
} |
branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/FLyrDefault.java | ||
---|---|---|
1250 | 1250 |
} |
1251 | 1251 |
|
1252 | 1252 |
|
1253 |
public void clear() { |
|
1254 |
if (delegatedDynObject != null) { |
|
1255 |
delegatedDynObject.clear(); |
|
1256 |
} |
|
1257 |
} |
|
1253 | 1258 |
|
1254 |
|
|
1255 | 1259 |
} |
branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/dynobject/DynObject.java | ||
---|---|---|
50 | 50 |
Object invokeDynMethod(String name, DynObject context) throws DynMethodException; |
51 | 51 |
|
52 | 52 |
Object invokeDynMethod(int code, DynObject context) throws DynMethodException; |
53 |
|
|
54 |
void clear(); |
|
53 | 55 |
} |
branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/dynobject/impl/DefaultDynObject.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import org.gvsig.tools.dynobject.DelegatedDynObject; |
4 | 4 |
import org.gvsig.tools.dynobject.DynClass; |
5 |
import org.gvsig.tools.dynobject.DynField; |
|
5 | 6 |
import org.gvsig.tools.dynobject.DynMethod; |
6 | 7 |
import org.gvsig.tools.dynobject.DynObject; |
7 | 8 |
import org.gvsig.tools.dynobject.exception.DynFieldNotFoundException; |
... | ... | |
157 | 158 |
} |
158 | 159 |
return this.dynClass.manager.invokeDynMethod(self, methodCode, context); |
159 | 160 |
} |
160 |
} |
|
161 |
|
|
162 |
public void clear() { |
|
163 |
DynField[] fields = getDynClass().getDeclaredDynFields(); |
|
164 |
|
|
165 |
for (int i = 0; i < fields.length; i++) { |
|
166 |
this.setDynValue(fields[i].getName(), fields[i].getDefaultValue()); |
|
167 |
} |
|
168 |
} |
|
169 |
} |
branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/persistence/impl/AbstractPersistenceManager.java | ||
---|---|---|
296 | 296 |
// Nothing to do |
297 | 297 |
} |
298 | 298 |
|
299 |
public void clear() { |
|
300 |
// Nothing to do |
|
301 |
} |
|
302 |
|
|
299 | 303 |
} |
300 | 304 |
|
301 | 305 |
public int getAutoValidation() { |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java | ||
---|---|---|
1791 | 1791 |
public FeatureCache getCache() { |
1792 | 1792 |
return cache; |
1793 | 1793 |
} |
1794 |
|
|
1795 |
public void clear() { |
|
1796 |
if (metadata != null) { |
|
1797 |
metadata.clear(); |
|
1798 |
} |
|
1799 |
} |
|
1794 | 1800 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeature.java | ||
---|---|---|
171 | 171 |
} |
172 | 172 |
} |
173 | 173 |
|
174 |
public void clear() { |
|
175 |
initializeValues(); |
|
176 |
} |
|
177 |
|
|
174 | 178 |
public void initializeValues(Feature feature) { |
175 | 179 |
FeatureType myType=this.getType(); |
176 | 180 |
FeatureType type =feature.getType(); |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/spi/AbstractFeatureStoreProvider.java | ||
---|---|---|
455 | 455 |
return null; |
456 | 456 |
} |
457 | 457 |
|
458 |
public void clear() { |
|
459 |
if (metadata != null) { |
|
460 |
metadata.clear(); |
|
461 |
} |
|
462 |
} |
|
463 |
|
|
458 | 464 |
/** |
459 | 465 |
* Returns a {@link FeatureProvider} by reference, using the provided |
460 | 466 |
* {@link FeatureType}. This is the child classes implementation of the |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/raster/spi/AbstractCoverageStoreProvider.java | ||
---|---|---|
202 | 202 |
this.metadata.setDynValue(name, value); |
203 | 203 |
} |
204 | 204 |
|
205 |
public void clear() { |
|
206 |
if (metadata != null) { |
|
207 |
metadata.clear(); |
|
208 |
} |
|
209 |
} |
|
205 | 210 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/raster/impl/DefaultCoverageStore.java | ||
---|---|---|
482 | 482 |
return this; |
483 | 483 |
} |
484 | 484 |
|
485 |
public void clear() { |
|
486 |
if (dynObject != null) { |
|
487 |
dynObject.clear(); |
|
488 |
} |
|
489 |
} |
|
485 | 490 |
} |
branches/v2_0_0_prep/extensions/org.gvsig.symbology/src/test/java/org/gvsig/symbology/fmap/mapcontext/rendering/legend/TestIClassifiedLegend.java | ||
---|---|---|
622 | 622 |
return null; |
623 | 623 |
} |
624 | 624 |
|
625 |
public void clear() { |
|
626 |
// Nothing to do |
|
627 |
} |
|
628 |
|
|
625 | 629 |
} |
626 | 630 |
|
627 | 631 |
//private static final FInterval interval0=new FInterval(0,2); |
branches/v2_0_0_prep/extensions/org.gvsig.symbology/src/test/java/org/gvsig/symbology/fmap/mapcontext/rendering/legend/TestAbstractIntervalLegend.java | ||
---|---|---|
620 | 620 |
return null; |
621 | 621 |
} |
622 | 622 |
|
623 |
public void clear() { |
|
624 |
// Nothing to do |
|
625 |
} |
|
623 | 626 |
} |
624 | 627 |
|
625 | 628 |
private static final FInterval interval0=new FInterval(0,2); |
Also available in: Unified diff