/** @param answer */
  private void getValueFromAnswer(Answer answer) {

    number = String.valueOf(answer.getNumber());
    score = String.valueOf(answer.getScore());
    state = answer.getState();
    content = answer.getContent();
    answerofSta = answer.getAnswerofSta();
    answerofTea = answer.getAnswerofTea();
    answerofStu = answer.getAnswerofStu();
    textAnswer = answer.getTextAnswer();
    textOfTeacher = answer.getTextOfTeacher();
    point = String.valueOf(answer.getPoint());
  }
  /**
   * 处理保存事件,主要是保存老师批改后的图片
   *
   * @return
   */
  public void onConfirm() {

    if (answerofStu == null) // 学生没有答案图片则肯定没有老师批改后的图片,即不用保存,直接返回。这样answerofTea就会是null
    return;
    answerofTea =
        Answer.getAnswerofTeaFullPath(
            PicUpload.getFileName(Parameters.get(ParaIndex.SID_INDEX))); // 获取文件路径
    creator.onClickButtonSave(answerofTea);
  }