((SocietyDBComponent)sc).saveToDatabase();
((SocietyBase)sc).modified = true; ((SocietyBase)sc).oldAssemblyId = assemblyID; ((SocietyBase)sc).setAssemblyId(null);
  public ModifiableComponent copy(String name) {    if (log.isDebugEnabled()) {      log.debug("Copying society " + this.getSocietyName() + " with assembly " + getAssemblyId() + " into new name " + name);    }    String assemblyID = getAssemblyId();    ModifiableComponent sc = new SocietyDBComponent(name, assemblyID);    sc.initProperties();    ((SocietyDBComponent)sc).saveToDatabase();    return sc;  }