public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) { this.id = historyEvent.getVariableInstanceId(); this.processDefinitionKey = historyEvent.getProcessDefinitionKey(); this.processDefinitionId = historyEvent.getProcessDefinitionId(); this.processInstanceId = historyEvent.getProcessInstanceId(); this.taskId = historyEvent.getTaskId(); this.executionId = historyEvent.getExecutionId(); this.activityInstanceId = historyEvent.getScopeActivityInstanceId(); this.tenantId = historyEvent.getTenantId(); this.caseDefinitionKey = historyEvent.getCaseDefinitionKey(); this.caseDefinitionId = historyEvent.getCaseDefinitionId(); this.caseInstanceId = historyEvent.getCaseInstanceId(); this.caseExecutionId = historyEvent.getCaseExecutionId(); this.name = historyEvent.getVariableName(); this.longValue = historyEvent.getLongValue(); this.doubleValue = historyEvent.getDoubleValue(); this.textValue = historyEvent.getTextValue(); this.textValue2 = historyEvent.getTextValue2(); this.createTime = historyEvent.getTimestamp(); this.rootProcessInstanceId = historyEvent.getRootProcessInstanceId(); this.removalTime = historyEvent.getRemovalTime(); setSerializerName(historyEvent.getSerializerName()); byteArrayField.deleteByteArrayValue(); if(historyEvent.getByteValue() != null) { byteArrayField.setRootProcessInstanceId(rootProcessInstanceId); byteArrayField.setRemovalTime(removalTime); setByteArrayValue(historyEvent.getByteValue()); } }
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) { this.id = historyEvent.getVariableInstanceId(); this.processDefinitionKey = historyEvent.getProcessDefinitionKey(); this.processDefinitionId = historyEvent.getProcessDefinitionId(); this.processInstanceId = historyEvent.getProcessInstanceId(); this.taskId = historyEvent.getTaskId(); this.executionId = historyEvent.getExecutionId(); this.activityInstanceId = historyEvent.getScopeActivityInstanceId(); this.tenantId = historyEvent.getTenantId(); this.caseDefinitionKey = historyEvent.getCaseDefinitionKey(); this.caseDefinitionId = historyEvent.getCaseDefinitionId(); this.caseInstanceId = historyEvent.getCaseInstanceId(); this.caseExecutionId = historyEvent.getCaseExecutionId(); this.name = historyEvent.getVariableName(); this.longValue = historyEvent.getLongValue(); this.doubleValue = historyEvent.getDoubleValue(); this.textValue = historyEvent.getTextValue(); this.textValue2 = historyEvent.getTextValue2(); this.createTime = historyEvent.getTimestamp(); this.rootProcessInstanceId = historyEvent.getRootProcessInstanceId(); this.removalTime = historyEvent.getRemovalTime(); setSerializerName(historyEvent.getSerializerName()); byteArrayField.deleteByteArrayValue(); if(historyEvent.getByteValue() != null) { byteArrayField.setRootProcessInstanceId(rootProcessInstanceId); byteArrayField.setRemovalTime(removalTime); setByteArrayValue(historyEvent.getByteValue()); } }
public void updateFromEvent(HistoricVariableUpdateEventEntity historyEvent) { this.id = historyEvent.getVariableInstanceId(); this.processDefinitionKey = historyEvent.getProcessDefinitionKey(); this.processDefinitionId = historyEvent.getProcessDefinitionId(); this.processInstanceId = historyEvent.getProcessInstanceId(); this.taskId = historyEvent.getTaskId(); this.executionId = historyEvent.getExecutionId(); this.activityInstanceId = historyEvent.getScopeActivityInstanceId(); this.tenantId = historyEvent.getTenantId(); this.caseDefinitionKey = historyEvent.getCaseDefinitionKey(); this.caseDefinitionId = historyEvent.getCaseDefinitionId(); this.caseInstanceId = historyEvent.getCaseInstanceId(); this.caseExecutionId = historyEvent.getCaseExecutionId(); this.name = historyEvent.getVariableName(); this.longValue = historyEvent.getLongValue(); this.doubleValue = historyEvent.getDoubleValue(); this.textValue = historyEvent.getTextValue(); this.textValue2 = historyEvent.getTextValue2(); this.createTime = historyEvent.getTimestamp(); this.rootProcessInstanceId = historyEvent.getRootProcessInstanceId(); this.removalTime = historyEvent.getRemovalTime(); setSerializerName(historyEvent.getSerializerName()); byteArrayField.deleteByteArrayValue(); if(historyEvent.getByteValue() != null) { byteArrayField.setRootProcessInstanceId(rootProcessInstanceId); byteArrayField.setRemovalTime(removalTime); setByteArrayValue(historyEvent.getByteValue()); } }