Revision 18223 trunk/libraries/libAnimation/src/com/iver/cit/gvsig/animation/traks/AnimationDatedTrack.java
AnimationDatedTrack.java | ||
---|---|---|
173 | 173 |
public void setXMLEntity(XMLEntity xml) { |
174 | 174 |
// TODO method to do persisence to this class |
175 | 175 |
|
176 |
if (xml.contains("class_name"))
|
|
176 |
if (xml.contains("className"))
|
|
177 | 177 |
className = xml.getStringProperty("class_name"); |
178 | 178 |
if (xml.contains("name")) |
179 | 179 |
Name = xml.getStringProperty("name"); |
... | ... | |
196 | 196 |
// TODO method to get persisence to this class |
197 | 197 |
|
198 | 198 |
XMLEntity xml = new XMLEntity(); |
199 |
xml.putProperty("class_name", this.getClassName());
|
|
199 |
xml.putProperty("className", this.getClassName());
|
|
200 | 200 |
xml.putProperty("name", Name); |
201 | 201 |
xml.putProperty("description",Description ); |
202 | 202 |
|
... | ... | |
207 | 207 |
xml.putProperty("end_date", endDateString); |
208 | 208 |
|
209 | 209 |
// for (int i = 0; i < this.animationDateIntervalList.size(); i++) { |
210 |
// AnimationDatedInterval datedInterval = (AnimationDatedInterval) this.animationDateIntervalList.get(i); |
|
211 |
// datedInterval.getXMLEntity(); |
|
212 |
// } |
|
210 |
// AnimationDatedInterval datedInterval = (AnimationDatedInterval) this.animationDateIntervalList.get(i); |
|
211 |
//// datedInterval.getXMLEntity(); |
|
212 |
// xml.addChild(((IPersistence)datedInterval).getXMLEntity()); |
|
213 |
// } |
|
213 | 214 |
return xml; |
214 | 215 |
|
215 | 216 |
} |
Also available in: Unified diff