@Override
  public Object clone() {
    LearningActivityTryClp clone = new LearningActivityTryClp();

    clone.setUuid(getUuid());
    clone.setLatId(getLatId());
    clone.setActId(getActId());
    clone.setUserId(getUserId());
    clone.setStartDate(getStartDate());
    clone.setResult(getResult());
    clone.setEndDate(getEndDate());
    clone.setTryData(getTryData());
    clone.setTryResultData(getTryResultData());
    clone.setComments(getComments());

    return clone;
  }
  @Override
  public void setModelAttributes(Map<String, Object> attributes) {
    String uuid = (String) attributes.get("uuid");

    if (uuid != null) {
      setUuid(uuid);
    }

    Long latId = (Long) attributes.get("latId");

    if (latId != null) {
      setLatId(latId);
    }

    Long actId = (Long) attributes.get("actId");

    if (actId != null) {
      setActId(actId);
    }

    Long userId = (Long) attributes.get("userId");

    if (userId != null) {
      setUserId(userId);
    }

    Date startDate = (Date) attributes.get("startDate");

    if (startDate != null) {
      setStartDate(startDate);
    }

    Long result = (Long) attributes.get("result");

    if (result != null) {
      setResult(result);
    }

    Date endDate = (Date) attributes.get("endDate");

    if (endDate != null) {
      setEndDate(endDate);
    }

    String tryData = (String) attributes.get("tryData");

    if (tryData != null) {
      setTryData(tryData);
    }

    String tryResultData = (String) attributes.get("tryResultData");

    if (tryResultData != null) {
      setTryResultData(tryResultData);
    }

    String comments = (String) attributes.get("comments");

    if (comments != null) {
      setComments(comments);
    }
  }