Search in sources :

Example 1 with AssociationList

use of org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.AssociationList in project kie-wb-common by kiegroup.

the class AssignmentsInfos method of.

public static AssignmentsInfo of(final List<DataInput> datainput, final List<DataInputAssociation> inputAssociations, final List<DataOutput> dataoutput, final List<DataOutputAssociation> outputAssociations, boolean alternativeEncoding) {
    DeclarationList inputs = dataInputDeclarations(datainput);
    DeclarationList outputs = dataOutputDeclarations(dataoutput);
    AssociationList associations = new AssociationList(inAssociationDeclarations(inputAssociations), outAssociationDeclarations(outputAssociations));
    return new AssignmentsInfo(new ParsedAssignmentsInfo(inputs, outputs, associations, alternativeEncoding).toString());
}
Also used : AssociationList(org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.AssociationList) AssignmentsInfo(org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo) ParsedAssignmentsInfo(org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.ParsedAssignmentsInfo) ParsedAssignmentsInfo(org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.ParsedAssignmentsInfo) DeclarationList(org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.DeclarationList)

Aggregations

AssociationList (org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.AssociationList)1 DeclarationList (org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.DeclarationList)1 ParsedAssignmentsInfo (org.kie.workbench.common.stunner.bpmn.backend.converters.customproperties.ParsedAssignmentsInfo)1 AssignmentsInfo (org.kie.workbench.common.stunner.bpmn.definition.property.dataio.AssignmentsInfo)1