public String toAuditString() {
    StringBuffer auditStr = new StringBuffer();

    auditStr.append("\r\n*trackingArea* :");
    if (trackingArea != null) {
      auditStr.append(toShortClassName(trackingArea));

      auditStr.append(trackingArea.getId());
    }
    auditStr.append("; ");
    auditStr.append("\r\n*cubiclesRoomsBeds* :");
    if (cubiclesRoomsBeds != null) {
      int i2 = 0;
      for (i2 = 0; i2 < cubiclesRoomsBeds.size(); i2++) {
        if (i2 > 0) auditStr.append(",");
        ims.emergency.configuration.domain.objects.TrackingCubicleRoomBed obj =
            (ims.emergency.configuration.domain.objects.TrackingCubicleRoomBed)
                cubiclesRoomsBeds.get(i2);
        if (obj != null) {
          if (i2 == 0) {
            auditStr.append(toShortClassName(obj));
            auditStr.append("[");
          }
          auditStr.append(obj.getId());
        }
      }
      if (i2 > 0) auditStr.append("] " + i2);
    }
    auditStr.append("; ");
    return auditStr.toString();
  }
 public static void fillFieldsfromXML(
     org.dom4j.Element el,
     ims.domain.DomainFactory factory,
     TrackingAreaCubicles obj,
     java.util.HashMap domMap)
     throws Exception {
   org.dom4j.Element fldEl;
   fldEl = el.element("trackingArea");
   if (fldEl != null) {
     fldEl = fldEl.element("class");
     obj.setTrackingArea(
         ims.emergency.configuration.domain.objects.TrackingArea.getTrackingAreafromXML(
             fldEl, factory, domMap));
   }
   fldEl = el.element("cubiclesRoomsBeds");
   if (fldEl != null) {
     fldEl = fldEl.element("list");
     obj.setCubiclesRoomsBeds(
         ims.emergency.configuration.domain.objects.TrackingCubicleRoomBed.fromListXMLString(
             fldEl, factory, obj.getCubiclesRoomsBeds(), domMap));
   }
 }