@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof KaleoTaskAssignmentInstanceClp)) { return false; } KaleoTaskAssignmentInstanceClp kaleoTaskAssignmentInstance = (KaleoTaskAssignmentInstanceClp) obj; long primaryKey = kaleoTaskAssignmentInstance.getPrimaryKey(); if (getPrimaryKey() == primaryKey) { return true; } else { return false; } }
@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; }