Class FactMappingValue
- java.lang.Object
-
- org.drools.scenariosimulation.api.model.FactMappingValue
-
public class FactMappingValue extends java.lang.ObjectFactMappingValue 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, java.lang.Object rawValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getCollectionPathToValue()java.lang.ObjectgetErrorValue()java.lang.StringgetExceptionMessage()ExpressionIdentifiergetExpressionIdentifier()FactIdentifiergetFactIdentifier()java.lang.ObjectgetRawValue()FactMappingValueStatusgetStatus()voidresetStatus()voidsetCollectionPathToValue(java.util.List<java.lang.String> collectionPathToValue)voidsetErrorValue(java.lang.Object errorValue)voidsetExceptionMessage(java.lang.String exceptionMessage)voidsetRawValue(java.lang.Object rawValue)
-
-
-
Constructor Detail
-
FactMappingValue
public FactMappingValue()
-
FactMappingValue
public FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, java.lang.Object rawValue)
-
-
Method Detail
-
setRawValue
public void setRawValue(java.lang.Object rawValue)
-
getFactIdentifier
public FactIdentifier getFactIdentifier()
-
getExpressionIdentifier
public ExpressionIdentifier getExpressionIdentifier()
-
getRawValue
public java.lang.Object getRawValue()
-
getStatus
public FactMappingValueStatus getStatus()
-
getErrorValue
public java.lang.Object getErrorValue()
-
setErrorValue
public void setErrorValue(java.lang.Object errorValue)
-
getExceptionMessage
public java.lang.String getExceptionMessage()
-
setExceptionMessage
public void setExceptionMessage(java.lang.String exceptionMessage)
-
getCollectionPathToValue
public java.util.List<java.lang.String> getCollectionPathToValue()
-
setCollectionPathToValue
public void setCollectionPathToValue(java.util.List<java.lang.String> collectionPathToValue)
-
resetStatus
public void resetStatus()
-
-