if (log.isDebugEnabled()) { log.debug("Copying society " + this.getSocietyName() + " with assembly " + getAssemblyId() + " into new name " + name); }
  public ModifiableComponent copy(String name) {    ModifiableComponent societyCopy;     if (filenames != null)      societyCopy = new SocietyFileComponent(name, filenames);    else       societyCopy = new SocietyFileComponent(singleFilename, name);    societyCopy.initProperties();    // copy the assembly ID - the one under which this societies'    // data is currently in the DB, but must be copied    ((SocietyBase)societyCopy).setAssemblyId(getAssemblyId());    ((SocietyBase)societyCopy).saveToDatabase();    return societyCopy;  }