Search in sources :

Example 1 with DmnTypeDefinition

use of org.camunda.bpm.dmn.engine.impl.spi.type.DmnTypeDefinition in project camunda-engine-dmn by camunda.

the class DmnVariableTransformHandler method createFromVariable.

protected DmnVariableImpl createFromVariable(DmnElementTransformContext context, Variable variable) {
    DmnVariableImpl dmnVariable = createDmnElement(context, variable);
    dmnVariable.setId(variable.getId());
    dmnVariable.setName(variable.getName());
    DmnTypeDefinition typeDefinition = createTypeDefinition(context, variable);
    dmnVariable.setTypeDefinition(typeDefinition);
    return dmnVariable;
}
Also used : DmnVariableImpl(org.camunda.bpm.dmn.engine.impl.DmnVariableImpl) DmnTypeDefinition(org.camunda.bpm.dmn.engine.impl.spi.type.DmnTypeDefinition)

Aggregations

DmnVariableImpl (org.camunda.bpm.dmn.engine.impl.DmnVariableImpl)1 DmnTypeDefinition (org.camunda.bpm.dmn.engine.impl.spi.type.DmnTypeDefinition)1