Package | Description |
---|---|
org.drools.workbench.screens.scenariosimulation.kogito.client.dmn |
Modifier and Type | Method and Description |
---|---|
ClientDMNType |
ClientDMNType.copyAsCollection()
It *copies* the current ClientDMNType, setting it as Collection, with isCollection = true.
|
protected ClientDMNType |
AbstractKogitoDMNService.createDMNType(Map<String,org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition> allDefinitions,
org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition itemDefinition,
String namespace,
Map<String,ClientDMNType> dmnTypesDataMap)
This method creates a
ClientDMNType object of a given JSITItemDefinition object or
a JSITItemComponent as well. |
protected ClientDMNType |
AbstractKogitoDMNService.getDMNTypeFromMaps(Map<String,ClientDMNType> dmnTypesMap,
Map<QName,String> source)
It retrieves the
ClientDMNType of the current typeRef source (Decision or Input Data). |
Modifier and Type | Method and Description |
---|---|
protected Map<String,ClientDMNType> |
AbstractKogitoDMNService.getDMNDataTypesMap(List<org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition> jsitItemDefinitions,
String nameSpace)
This method retrieves all DMN Data Types are composed by
- DEFAULT types, listed inside
BuiltInType enum
- CUSTOM types, which are available inside jsitItemDefinitions list |
Map<String,ClientDMNType> |
ClientDMNType.getFields() |
Modifier and Type | Method and Description |
---|---|
void |
ClientDMNType.addField(String fieldName,
ClientDMNType clientDMNType) |
protected void |
AbstractKogitoDMNService.checkTypeSupport(ClientDMNType type,
org.drools.workbench.screens.scenariosimulation.kogito.client.dmn.AbstractKogitoDMNService.ErrorHolder errorHolder,
String fullPropertyPath)
Recursively visit a composite
DMNType to eventually detect and add errors to given ErrorHolder |
protected FactModelTree |
AbstractKogitoDMNService.createFactModelTreeForCollection(Map<String,List<String>> genericTypeInfoMap,
String factName,
ClientDMNType type,
SortedMap<String,FactModelTree> hiddenFacts,
FactModelTree.Type fmType,
List<String> alreadyVisited)
Creates a
FactModelTree for DMNType where DMNType.isCollection() == true |
protected FactModelTree |
AbstractKogitoDMNService.createFactModelTreeForComposite(Map<String,List<String>> genericTypeInfoMap,
String name,
String fullPropertyPath,
ClientDMNType type,
SortedMap<String,FactModelTree> hiddenFacts,
FactModelTree.Type fmType,
List<String> alreadyVisited)
Creates a
FactModelTree for DMNType where DMNType.isComposite() == true |
protected FactModelTree |
AbstractKogitoDMNService.createFactModelTreeForGenericType(Map<String,List<String>> genericTypeInfoMap,
String factName,
String propertyName,
String fullPropertyPath,
ClientDMNType type,
SortedMap<String,FactModelTree> hiddenFacts,
FactModelTree.Type fmType,
List<String> alreadyVisited)
Creates a
FactModelTree for DMNType |
protected FactModelTree |
AbstractKogitoDMNService.createFactModelTreeForNoCollection(Map<String,List<String>> genericTypeInfoMap,
String factName,
String propertyName,
String fullPropertyPath,
ClientDMNType type,
SortedMap<String,FactModelTree> hiddenFacts,
FactModelTree.Type fmType,
List<String> alreadyVisited)
Creates a
FactModelTree for DMNType where DMNType.isCollection() ! |
protected FactModelTree |
AbstractKogitoDMNService.createTopLevelFactModelTree(String factName,
ClientDMNType type,
SortedMap<String,FactModelTree> hiddenFacts,
FactModelTree.Type fmType)
This method is the entry point for
FactModelTree . |
protected void |
AbstractKogitoDMNService.internalCheckTypeSupport(ClientDMNType type,
boolean alreadyInCollection,
org.drools.workbench.screens.scenariosimulation.kogito.client.dmn.AbstractKogitoDMNService.ErrorHolder errorHolder,
String fullPropertyPath,
Set<String> alreadyVisited) |
protected boolean |
AbstractKogitoDMNService.isToBeManagedAsCollection(ClientDMNType type)
Return
true if the given DMNType has to be managed as collection |
protected boolean |
AbstractKogitoDMNService.isToBeManagedAsComposite(ClientDMNType type)
Return
true if the given DMNType has to be managed as composite |
protected void |
AbstractKogitoDMNService.populateItemDefinitionFields(Map<String,org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition> allItemDefinitions,
org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition itemDefinition,
String namespace,
Map<String,ClientDMNType> dmnTypesMap,
ClientDMNType clientDMNType)
This method aim is to populate all fields and subfields present in a given
JSITItemDefinitionItem
Considering a field can contains subfields, this method is *recursive*. |
Modifier and Type | Method and Description |
---|---|
void |
ClientDMNType.addFields(Map<String,ClientDMNType> fields) |
protected ClientDMNType |
AbstractKogitoDMNService.createDMNType(Map<String,org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition> allDefinitions,
org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition itemDefinition,
String namespace,
Map<String,ClientDMNType> dmnTypesDataMap)
This method creates a
ClientDMNType object of a given JSITItemDefinition object or
a JSITItemComponent as well. |
protected ClientDMNType |
AbstractKogitoDMNService.getDMNTypeFromMaps(Map<String,ClientDMNType> dmnTypesMap,
Map<QName,String> source)
It retrieves the
ClientDMNType of the current typeRef source (Decision or Input Data). |
protected void |
AbstractKogitoDMNService.populateItemDefinitionFields(Map<String,org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition> allItemDefinitions,
org.kie.workbench.common.dmn.webapp.kogito.marshaller.js.model.dmn12.JSITItemDefinition itemDefinition,
String namespace,
Map<String,ClientDMNType> dmnTypesMap,
ClientDMNType clientDMNType)
This method aim is to populate all fields and subfields present in a given
JSITItemDefinitionItem
Considering a field can contains subfields, this method is *recursive*. |
Constructor and Description |
---|
ClientDMNType(String namespace,
String name,
String id,
boolean isCollection,
boolean isComposite,
Map<String,ClientDMNType> fields,
BuiltInType feelType) |
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.