Revision 43558
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/test/java/org/gvsig/fmap/dal/feature/DummyFetureStore.java | ||
---|---|---|
646 | 646 |
public FeatureSet getFeatureSet(String filter, String sortBy, boolean asc) throws DataException { |
647 | 647 |
return null; |
648 | 648 |
} |
649 |
|
|
650 |
@Override |
|
651 |
public List<Feature> getFeatures(FeatureQuery query) { |
|
652 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
|
653 |
} |
|
649 | 654 |
} |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/FeatureQuery.java | ||
---|---|---|
78 | 78 |
*/ |
79 | 79 |
void setAttributeNames(String[] attributeNames); |
80 | 80 |
|
81 |
/** |
|
81 |
void retrievesAllAttributes(); |
|
82 |
|
|
83 |
/** |
|
82 | 84 |
* Adds the name of an attribute that has to be used to load each |
83 | 85 |
* {@link Feature}. |
84 | 86 |
* |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureQuery.java | ||
---|---|---|
246 | 246 |
} |
247 | 247 |
|
248 | 248 |
@Override |
249 |
public void retrievesAllAttributes() { |
|
250 |
this.attributeNames.clear(); |
|
251 |
} |
|
252 |
|
|
253 |
@Override |
|
249 | 254 |
public void addAttributeName(String attributeName){ |
250 | 255 |
//If the attribute exists finish the method |
251 | 256 |
for (int i=0 ; i<attributeNames.size() ; i++){ |
Also available in: Unified diff