@Override public Object clone() { KaleoTaskClp clone = new KaleoTaskClp(); clone.setKaleoTaskId(getKaleoTaskId()); clone.setGroupId(getGroupId()); clone.setCompanyId(getCompanyId()); clone.setUserId(getUserId()); clone.setUserName(getUserName()); clone.setCreateDate(getCreateDate()); clone.setModifiedDate(getModifiedDate()); clone.setKaleoDefinitionId(getKaleoDefinitionId()); clone.setKaleoNodeId(getKaleoNodeId()); clone.setName(getName()); clone.setDescription(getDescription()); return clone; }
public void setPrimaryKey(long primaryKey) { setKaleoTaskId(primaryKey); }
@Override public void setModelAttributes(Map<String, Object> attributes) { Long kaleoTaskId = (Long) attributes.get("kaleoTaskId"); if (kaleoTaskId != null) { setKaleoTaskId(kaleoTaskId); } 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 kaleoNodeId = (Long) attributes.get("kaleoNodeId"); if (kaleoNodeId != null) { setKaleoNodeId(kaleoNodeId); } String name = (String) attributes.get("name"); if (name != null) { setName(name); } String description = (String) attributes.get("description"); if (description != null) { setDescription(description); } }