code: private void setObjectDefaults(DigitalObject obj) {
          if (obj.getCreateDate() == null) obj.setCreateDate(m_now);
          if (obj.getLastModDate() == null) obj.setLastModDate(m_now);
  
          Iterator<String> dsIds = obj.datastreamIdIterator();
          while (dsIds.hasNext()) {
              String dsid = dsIds.next();
              for (Datastream ds : obj.datastreams(dsid)) {
                  ds.DSSize = 0;
                  if (ds.DSCreateDT == null) {
                      ds.DSCreateDT = m_now;
                  }
              }
          }
      }
docs: - Sets datastream sizes to 0