本文整理汇总了Java中org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity.setDoubleValue方法的典型用法代码示例。如果您正苦于以下问题:Java VariableInstanceEntity.setDoubleValue方法的具体用法?Java VariableInstanceEntity.setDoubleValue怎么用?Java VariableInstanceEntity.setDoubleValue使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity
的用法示例。
在下文中一共展示了VariableInstanceEntity.setDoubleValue方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: read
import org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity; //导入方法依赖的package包/类
public VariableInstanceEntity read(GettableData data) {
VariableInstanceEntity entity = new VariableInstanceEntity();
entity.setId(data.getString("id"));
entity.setSerializerName(data.getString("type"));
entity.setName(data.getString("name"));
entity.setExecutionId(data.getString("execution_id"));
entity.setProcessInstanceId(data.getString("proc_inst_id"));
entity.setCaseExecutionId(data.getString("case_execution_id"));
entity.setCaseInstanceId(data.getString("case_inst_id"));
entity.setTaskId(data.getString("task_id"));
entity.setByteArrayValueId(data.getString("bytearray_id"));
if(!data.isNull("double")){
entity.setDoubleValue(data.getDouble("double"));
}
if(!data.isNull("long")){
entity.setLongValue(data.getLong("long"));
}
entity.setTextValue(data.getString("text"));
entity.setTextValue2(data.getString("text2"));
entity.setSequenceCounter(data.getLong("sequence_counter"));
entity.setConcurrentLocal(data.getBool("is_concurrent_local"));
return entity;
}
示例2: copy
import org.camunda.bpm.engine.impl.persistence.entity.VariableInstanceEntity; //导入方法依赖的package包/类
public VariableInstanceEntity copy(VariableInstanceEntity data) {
VariableInstanceEntity entity = new VariableInstanceEntity();
entity.setId(data.getId());
entity.setSerializerName(data.getSerializerName());
entity.setName(data.getName());
entity.setExecutionId(data.getExecutionId());
entity.setProcessInstanceId(data.getProcessInstanceId());
entity.setCaseExecutionId(data.getCaseExecutionId());
entity.setCaseInstanceId(data.getCaseInstanceId());
entity.setTaskId(data.getTaskId());
entity.setByteArrayValueId(data.getByteArrayValueId());
entity.setDoubleValue(data.getDoubleValue());
entity.setLongValue(data.getLongValue());
entity.setTextValue(data.getTextValue());
entity.setTextValue2(data.getTextValue2());
entity.setSequenceCounter(data.getSequenceCounter());
entity.setConcurrentLocal(data.isConcurrentLocal());
return entity;
}