Class FactModelTree.PropertyTypeName
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.model.typedescriptor.FactModelTree.PropertyTypeName
-
- Enclosing class:
- FactModelTree
public static class FactModelTree.PropertyTypeName extends Object
Nested DTO which holds a Property name. This is required in case of DMN Type scenario, where, if a DMNType contains a baseType, it takes the type name from its baseType. This is to manage DMN Simple Types and Anonymous inner types (please refer to DMN documentation for further info) For all other cases, typeName is the name to use and show. - typeName: It is the real type name; - baseTypeName: Optional, it represents the baseType of a DMNType. If is present, this should be shown in UI but ignored on all other steps.
-
-
Constructor Summary
Constructors Constructor Description PropertyTypeName()PropertyTypeName(String typeName)PropertyTypeName(String typeName, String baseTypeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>getBaseTypeName()StringgetPropertyTypeNameToVisualize()This method returns the correct type name of the property to be visualized in UI.StringgetTypeName()voidsetBaseTypeName(String baseTypeName)voidsetTypeName(String typeName)
-
-
-
Method Detail
-
getTypeName
public String getTypeName()
-
setTypeName
public void setTypeName(String typeName)
-
setBaseTypeName
public void setBaseTypeName(String baseTypeName)
-
getPropertyTypeNameToVisualize
public String getPropertyTypeNameToVisualize()
This method returns the correct type name of the property to be visualized in UI. In case of nested objects, '$' character is substituted with `.`/- Returns:
-
-