@Portable public class FactModelTree extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FactModelTree.PropertyTypeName
Nested DTO which holds a Property name.
|
static class |
FactModelTree.Type |
| Constructor and Description |
|---|
FactModelTree() |
FactModelTree(String factName,
String fullPackage,
Map<String,FactModelTree.PropertyTypeName> simpleProperties,
Map<String,List<String>> genericTypesMap)
Call this constructor to have a
FactModelTree with UNDEFINED Type. |
FactModelTree(String factName,
String fullPackage,
Map<String,FactModelTree.PropertyTypeName> simpleProperties,
Map<String,List<String>> genericTypesMap,
FactModelTree.Type type)
Call this constructor to specify the
FactModelTree' Type. |
FactModelTree(String factName,
String fullPackage,
Map<String,FactModelTree.PropertyTypeName> simpleProperties,
Map<String,List<String>> genericTypesMap,
FactModelTree.Type type,
String typeName) |
FactModelTree(String factName,
String fullPackage,
Map<String,FactModelTree.PropertyTypeName> simpleProperties,
Map<String,List<String>> genericTypesMap,
String typeName)
Call this constructor to have a
FactModelTree with UNDEFINED Type and the type (eg. |
public FactModelTree()
public FactModelTree(String factName, String fullPackage, Map<String,FactModelTree.PropertyTypeName> simpleProperties, Map<String,List<String>> genericTypesMap)
FactModelTree with UNDEFINED Type. RULE Test Scenario specific.factName - fullPackage - simpleProperties - genericTypesMap - the generic type info, in the format {collection_class_name}#{generic_type}: ex "java.util.List#com.Book"public FactModelTree(String factName, String fullPackage, Map<String,FactModelTree.PropertyTypeName> simpleProperties, Map<String,List<String>> genericTypesMap, String typeName)
FactModelTree with UNDEFINED Type and the type (eg. ClassName)
differs from the factName (A case is for nested classes eg Class.Nested as FactName and Class$Nested as className. RULE Test Scenario specific.factName - fullPackage - simpleProperties - genericTypesMap - the generic type info, in the format {collection_class_name}#{generic_type}: ex "java.util.List#com.Book"typeName - The typeName of the fact (the className)public FactModelTree(String factName, String fullPackage, Map<String,FactModelTree.PropertyTypeName> simpleProperties, Map<String,List<String>> genericTypesMap, FactModelTree.Type type)
FactModelTree' Type. DMN Test Scenario specific.factName - fullPackage - simpleProperties - genericTypesMap - the generic type info, in the format {collection_class_name}#{generic_type}: ex "java.util.List#com.Book"type - public static FactModelTree ofDMO(String factName, String fullPackage, Map<String,FactModelTree.PropertyTypeName> simpleProperties, Map<String,List<String>> genericTypesMap, String typeName)
factName - fullPackage - simpleProperties - genericTypesMap - typeName - public String getFactName()
public String getFullPackage()
public Map<String,FactModelTree.PropertyTypeName> getSimpleProperties()
public void addSimpleProperty(String propertyName, FactModelTree.PropertyTypeName propertyTypeName)
public List<String> getGenericTypeInfo(String propertyName)
propertyName - List of generic types, or an empty onepublic void removeSimpleProperty(String propertyName)
public boolean isSimple()
public void setSimple(boolean simple)
public FactModelTree.Type getType()
public String getTypeName()
public String getFullTypeName()
public FactModelTree cloneFactModelTree()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.