use of org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition in project kie-wb-common by kiegroup.
the class DMNMarshallerImportsClientHelper method getImportedItemDefinitions.
@Override
public List<JSITItemDefinition> getImportedItemDefinitions(final Map<JSITImport, JSITDefinitions> importDefinitions) {
final List<JSITItemDefinition> itemDefinitions = new ArrayList<>();
for (final Map.Entry<JSITImport, JSITDefinitions> entry : importDefinitions.entrySet()) {
final JSITImport anImport = Js.uncheckedCast(entry.getKey());
final JSITDefinitions definitions = Js.uncheckedCast(entry.getValue());
final List<JSITItemDefinition> items = getItemDefinitionsWithNamespace(definitions, anImport);
itemDefinitions.addAll(items);
}
return itemDefinitions;
}
Aggregations