Revision 41272
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/EditableFeatureType.java | ||
---|---|---|
157 | 157 |
* string containing the default time attribute name |
158 | 158 |
*/ |
159 | 159 |
public void setDefaultTimeAttributeName(String name); |
160 |
|
|
161 |
/** |
|
162 |
* Returns a {@link FeatureAttributeDescriptor} given the attribute name, |
|
163 |
* or null if an attribute with the given name does not exist. |
|
164 |
* |
|
165 |
* @param name |
|
166 |
* of the attribute |
|
167 |
* |
|
168 |
* @return |
|
169 |
* a {@link FeatureAttributeDescriptor} |
|
170 |
*/ |
|
171 |
public EditableFeatureAttributeDescriptor getEditableAttributeDescriptor(String name); |
|
172 |
|
|
173 |
/** |
|
174 |
* Returns a {@link FeatureAttributeDescriptor} given the attribute index. |
|
175 |
* |
|
176 |
* @param index |
|
177 |
* of the attribute |
|
178 |
* |
|
179 |
* @return |
|
180 |
* a {@link FeatureAttributeDescriptor} |
|
181 |
*/ |
|
182 |
public EditableFeatureAttributeDescriptor getEditableAttributeDescriptor(int index); |
|
160 | 183 |
} |
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/DefaultEditableFeatureType.java | ||
---|---|---|
309 | 309 |
return new EditableDelegatedIterator(iter, this); |
310 | 310 |
} |
311 | 311 |
|
312 |
public EditableFeatureAttributeDescriptor getEditableAttributeDescriptor(String name) { |
|
313 |
return (EditableFeatureAttributeDescriptor) this.getAttributeDescriptor(name); |
|
314 |
} |
|
315 |
|
|
316 |
public EditableFeatureAttributeDescriptor getEditableAttributeDescriptor(int index) { |
|
317 |
return (EditableFeatureAttributeDescriptor) this.getAttributeDescriptor(index); |
|
318 |
} |
|
319 |
|
|
312 | 320 |
protected class EditableDelegatedIterator extends DelegatedIterator { |
313 | 321 |
|
314 | 322 |
private DefaultEditableFeatureType fType; |
Also available in: Unified diff