Class FactMappingValue
- java.lang.Object
-
- org.drools.scenariosimulation.api.model.FactMappingValue
-
public class FactMappingValue extends Object
FactMappingValue contains the identifier of a fact mapping + the raw value - collectionPathToValue: In case of an error occurred in a collection (List or Map), it contains the path which describes how to reach the wrong field (eg. Item #1 | field | ... ).
-
-
Constructor Summary
Constructors Constructor Description FactMappingValue()FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getCollectionPathToValue()ObjectgetErrorValue()StringgetExceptionMessage()ExpressionIdentifiergetExpressionIdentifier()FactIdentifiergetFactIdentifier()ObjectgetRawValue()FactMappingValueStatusgetStatus()voidresetStatus()voidsetCollectionPathToValue(List<String> collectionPathToValue)voidsetErrorValue(Object errorValue)voidsetExceptionMessage(String exceptionMessage)voidsetRawValue(Object rawValue)
-
-
-
Constructor Detail
-
FactMappingValue
public FactMappingValue()
-
FactMappingValue
public FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue)
-
-
Method Detail
-
setRawValue
public void setRawValue(Object rawValue)
-
getFactIdentifier
public FactIdentifier getFactIdentifier()
-
getExpressionIdentifier
public ExpressionIdentifier getExpressionIdentifier()
-
getRawValue
public Object getRawValue()
-
getStatus
public FactMappingValueStatus getStatus()
-
getErrorValue
public Object getErrorValue()
-
setErrorValue
public void setErrorValue(Object errorValue)
-
getExceptionMessage
public String getExceptionMessage()
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
-
resetStatus
public void resetStatus()
-
-