public void initializeValue(VariableSerializers serializers) { TypedValue typedValue = wrappedQueryValue.getTypedValue(); ValueTypeResolver resolver = Context.getProcessEngineConfiguration().getValueTypeResolver(); Collection<ValueType> concreteTypes = resolver.getSubTypes(typedValue.getType()); for (ValueType type : concreteTypes) { if (type.canConvertFromTypedValue(typedValue)) { TypedValue convertedValue = type.convertFromTypedValue(typedValue); SingleQueryVariableValueCondition aggregatedValue = new SingleQueryVariableValueCondition(wrappedQueryValue); aggregatedValue.initializeValue(serializers, convertedValue); aggregatedValues.add(aggregatedValue); } } }
public void initializeValue(VariableSerializers serializers) { TypedValue typedValue = wrappedQueryValue.getTypedValue(); ValueTypeResolver resolver = Context.getProcessEngineConfiguration().getValueTypeResolver(); Collection<ValueType> concreteTypes = resolver.getSubTypes(typedValue.getType()); for (ValueType type : concreteTypes) { if (type.canConvertFromTypedValue(typedValue)) { TypedValue convertedValue = type.convertFromTypedValue(typedValue); SingleQueryVariableValueCondition aggregatedValue = new SingleQueryVariableValueCondition(wrappedQueryValue); aggregatedValue.initializeValue(serializers, convertedValue); aggregatedValues.add(aggregatedValue); } } }
public void initializeValue(VariableSerializers serializers) { TypedValue typedValue = wrappedQueryValue.getTypedValue(); ValueTypeResolver resolver = Context.getProcessEngineConfiguration().getValueTypeResolver(); Collection<ValueType> concreteTypes = resolver.getSubTypes(typedValue.getType()); for (ValueType type : concreteTypes) { if (type.canConvertFromTypedValue(typedValue)) { TypedValue convertedValue = type.convertFromTypedValue(typedValue); SingleQueryVariableValueCondition aggregatedValue = new SingleQueryVariableValueCondition(wrappedQueryValue); aggregatedValue.initializeValue(serializers, convertedValue); aggregatedValues.add(aggregatedValue); } } }