コード例 #1
0
  @Override
  public void resetOriginalValues() {
    PollsQuestionModelImpl pollsQuestionModelImpl = this;

    pollsQuestionModelImpl._originalUuid = pollsQuestionModelImpl._uuid;

    pollsQuestionModelImpl._originalGroupId = pollsQuestionModelImpl._groupId;

    pollsQuestionModelImpl._setOriginalGroupId = false;

    pollsQuestionModelImpl._columnBitmask = 0;
  }
コード例 #2
0
  public Object clone() {
    PollsQuestionImpl pollsQuestionImpl = new PollsQuestionImpl();

    pollsQuestionImpl.setUuid(getUuid());

    PollsQuestionModelImpl pollsQuestionModelImpl = pollsQuestionImpl;

    pollsQuestionModelImpl._originalUuid = pollsQuestionModelImpl._uuid;

    pollsQuestionImpl.setQuestionId(getQuestionId());

    pollsQuestionImpl.setGroupId(getGroupId());

    pollsQuestionModelImpl._originalGroupId = pollsQuestionModelImpl._groupId;

    pollsQuestionModelImpl._setOriginalGroupId = false;
    pollsQuestionImpl.setCompanyId(getCompanyId());

    pollsQuestionImpl.setUserId(getUserId());

    pollsQuestionImpl.setUserName(getUserName());

    pollsQuestionImpl.setCreateDate(getCreateDate());

    pollsQuestionImpl.setModifiedDate(getModifiedDate());

    pollsQuestionImpl.setTitle(getTitle());

    pollsQuestionImpl.setDescription(getDescription());

    pollsQuestionImpl.setExpirationDate(getExpirationDate());

    pollsQuestionImpl.setLastVoteDate(getLastVoteDate());

    return pollsQuestionImpl;
  }