Class FactMapping
java.lang.Object
org.drools.scenariosimulation.api.model.FactMapping
It describes how to reach a single property of a fact
-
Constructor Summary
ConstructorsConstructorDescriptionFactMapping(String factAlias, FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier) FactMapping(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExpressionElement(String stepName, String className) It creates a newFactMappingcloning the instanced one.booleanstatic StringgetInstancePlaceHolder(int index) static StringgetPlaceHolder(FactMappingType factMappingType) static StringgetPlaceHolder(FactMappingType factMappingType, int index) static StringgetPropertyPlaceHolder(int index) inthashCode()voidsetColumnWidth(Double columnWidth) voidsetExpressionAlias(String expressionAlias) voidsetFactAlias(String factAlias) voidsetFactMappingValueType(FactMappingValueType factMappingValueType) voidsetGenericTypes(List<String> genericTypes)
-
Constructor Details
-
FactMapping
public FactMapping() -
FactMapping
-
FactMapping
public FactMapping(String factAlias, FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier)
-
-
Method Details
-
getFullExpression
-
getExpressionElementsWithoutClass
-
getExpressionElements
-
addExpressionElement
-
getClassName
-
getExpressionIdentifier
-
getFactIdentifier
-
getFactAlias
-
setFactAlias
-
getExpressionAlias
-
setExpressionAlias
-
getGenericTypes
-
setGenericTypes
-
cloneFactMapping
It creates a newFactMappingcloning the instanced one. -
getPlaceHolder
-
getPlaceHolder
-
getFactMappingValueType
-
setFactMappingValueType
-
getInstancePlaceHolder
-
getPropertyPlaceHolder
-
equals
-
hashCode
public int hashCode() -
getColumnWidth
-
setColumnWidth
-