Пример #1
0
 public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     AssessmentRole obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("answerAll");
   if (fldEl != null) {
     obj.setAnswerAll(new Boolean(fldEl.getTextTrim()));
   }
   fldEl = el.element("appRole");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setAppRole(
         ims.core.configuration.domain.objects.AppRole.getAppRolefromXML(fldEl, factory, domMap));
   }
 }