private DateTime setUpdated(AtomDate value) {
if (value == null) {
_removeChildren(UPDATED, false);
return null;
}
DateTime dte = getUpdatedElement();
if (dte != null) {
dte.setValue(value);
return dte;
} else {
FOMFactory fomfactory = (FOMFactory) factory;
DateTime dt = fomfactory.newUpdated(this);
dt.setValue(value);
return dt;
}
}