code: private void readFromDB4Fields()
          throws CacheReloadException
      {
          try {
  
              final QueryBuilder queryBldr = new QueryBuilder(CIAdminUserInterface.Field);
              queryBldr.addWhereAttrEqValue(CIAdminUserInterface.Field.Collection, getId());
              final MultiPrintQuery multi = queryBldr.getPrint();
              multi.addAttribute(CIAdminUserInterface.Field.Type,
                                 CIAdminUserInterface.Field.Name);
              multi.executeWithoutAccessCheck();
  
              while (multi.next()) {
                  final long id = multi.getCurrentInstance().getId();
                  final String name =  multi.<String>getAttribute(CIAdminUserInterface.Field.Name);
                  final Type type = multi.<Type>getAttribute(CIAdminUserInterface.Field.Type);
                  final Field field;
                  if (type.equals(CIAdminUserInterface.FieldCommand.getType())) {
                      field = new FieldCommand(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldHeading.getType())) {
                      field = new FieldHeading(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldTable.getType())) {
                      field = new FieldTable(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldGroup.getType())) {
                      field = new FieldGroup(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldSet.getType())) {
                      field = new FieldSet(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldClassification.getType())) {
                      field = new FieldClassification(id, null, name);
                  } else if (type.equals(CIAdminUserInterface.FieldPicker.getType())) {
                      field = new FieldPicker(id, null, name);
                  } else {
                      field = new Field(id, null, name);
                  }
                  field.readFromDB();
                  add(field);
              }
          } catch (final EFapsException e) {
              throw new CacheReloadException("could not read fields for '" + getName() + "'", e);
          }
      }
docs: Read all fields related to this collection object.
  
  @throws CacheReloadException on error