Revision 34624 branches/dal_time_support/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultEditableFeature.java
DefaultEditableFeature.java | ||
---|---|---|
10 | 10 |
import org.gvsig.fmap.geom.Geometry; |
11 | 11 |
import org.gvsig.timesupport.Instant; |
12 | 12 |
import org.gvsig.timesupport.Interval; |
13 |
import org.gvsig.timesupport.Partial; |
|
14 |
import org.gvsig.timesupport.Period; |
|
15 | 13 |
|
16 | 14 |
public class DefaultEditableFeature extends DefaultFeature implements |
17 | 15 |
EditableFeature { |
... | ... | |
222 | 220 |
this.set(attribute, value); |
223 | 221 |
} |
224 | 222 |
|
225 |
public void setTimePartial(String name, Partial value) { |
|
226 |
FeatureAttributeDescriptor attribute = this.getType() |
|
227 |
.getAttributeDescriptor(name); |
|
228 |
this.set(attribute, value); |
|
229 |
} |
|
230 |
|
|
231 |
public void setTimePartial(int index, Partial value) { |
|
232 |
FeatureAttributeDescriptor attribute = this.getType() |
|
233 |
.getAttributeDescriptor(index); |
|
234 |
this.set(attribute, value); |
|
235 |
} |
|
236 |
|
|
237 | 223 |
public void setTimeInterval(String name, Interval value) { |
238 | 224 |
FeatureAttributeDescriptor attribute = this.getType() |
239 | 225 |
.getAttributeDescriptor(name); |
... | ... | |
245 | 231 |
.getAttributeDescriptor(index); |
246 | 232 |
this.set(attribute, value); |
247 | 233 |
} |
248 |
|
|
249 |
public void setTimePeriod(String name, Period value) { |
|
250 |
FeatureAttributeDescriptor attribute = this.getType() |
|
251 |
.getAttributeDescriptor(name); |
|
252 |
this.set(attribute, value); |
|
253 |
} |
|
254 |
|
|
255 |
public void setTimePeriod(int index, Period value) { |
|
256 |
FeatureAttributeDescriptor attribute = this.getType() |
|
257 |
.getAttributeDescriptor(index); |
|
258 |
this.set(attribute, value); |
|
259 |
} |
|
260 | 234 |
} |
Also available in: Unified diff