if (component != null) ((SocietyBase)component).saveToDatabase();
  public ModifiableComponent copy(String name) {    if (log.isDebugEnabled()) {      log.debug("Copying society " + this.getSocietyName() + " with assembly " + getAssemblyId() + " into new name " + name);    }    ModifiableComponent component = super.copy(name);    // copy the assembly ID - the one under which this societies'    // data is currently in the DB, but must be copied    ((SocietyBase)component).setAssemblyId(getAssemblyId());    // FIXME: If I do this here, what about sub-components that want to fix    // up the copy after using the base class?    if (component != null)      ((SocietyBase)component).saveToDatabase();    return component;  }