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

    clone.setKaleoTaskAssignmentInstanceId(getKaleoTaskAssignmentInstanceId());
    clone.setGroupId(getGroupId());
    clone.setCompanyId(getCompanyId());
    clone.setUserId(getUserId());
    clone.setUserName(getUserName());
    clone.setCreateDate(getCreateDate());
    clone.setModifiedDate(getModifiedDate());
    clone.setKaleoDefinitionId(getKaleoDefinitionId());
    clone.setKaleoInstanceId(getKaleoInstanceId());
    clone.setKaleoInstanceTokenId(getKaleoInstanceTokenId());
    clone.setKaleoTaskInstanceTokenId(getKaleoTaskInstanceTokenId());
    clone.setKaleoTaskId(getKaleoTaskId());
    clone.setKaleoTaskName(getKaleoTaskName());
    clone.setAssigneeClassName(getAssigneeClassName());
    clone.setAssigneeClassPK(getAssigneeClassPK());
    clone.setCompleted(getCompleted());
    clone.setCompletionDate(getCompletionDate());

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

    if (kaleoTaskAssignmentInstanceId != null) {
      setKaleoTaskAssignmentInstanceId(kaleoTaskAssignmentInstanceId);
    }

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

    if (groupId != null) {
      setGroupId(groupId);
    }

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

    if (companyId != null) {
      setCompanyId(companyId);
    }

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

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

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

    if (userName != null) {
      setUserName(userName);
    }

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

    if (createDate != null) {
      setCreateDate(createDate);
    }

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

    if (modifiedDate != null) {
      setModifiedDate(modifiedDate);
    }

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

    if (kaleoDefinitionId != null) {
      setKaleoDefinitionId(kaleoDefinitionId);
    }

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

    if (kaleoInstanceId != null) {
      setKaleoInstanceId(kaleoInstanceId);
    }

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

    if (kaleoInstanceTokenId != null) {
      setKaleoInstanceTokenId(kaleoInstanceTokenId);
    }

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

    if (kaleoTaskInstanceTokenId != null) {
      setKaleoTaskInstanceTokenId(kaleoTaskInstanceTokenId);
    }

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

    if (kaleoTaskId != null) {
      setKaleoTaskId(kaleoTaskId);
    }

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

    if (kaleoTaskName != null) {
      setKaleoTaskName(kaleoTaskName);
    }

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

    if (assigneeClassName != null) {
      setAssigneeClassName(assigneeClassName);
    }

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

    if (assigneeClassPK != null) {
      setAssigneeClassPK(assigneeClassPK);
    }

    Boolean completed = (Boolean) attributes.get("completed");

    if (completed != null) {
      setCompleted(completed);
    }

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

    if (completionDate != null) {
      setCompletionDate(completionDate);
    }

    _entityCacheEnabled = GetterUtil.getBoolean("entityCacheEnabled");
    _finderCacheEnabled = GetterUtil.getBoolean("finderCacheEnabled");
  }