Class DataMappingExpressionContext
HierarchicalExpressionContext
com.northconcepts.datapipeline.foundations.datamapping.DataMappingExpressionContext
public class DataMappingExpressionContext
extends HierarchicalExpressionContext
The expression context used by a
DataMapping, exposing the source, target,
previousSource and previousTarget contexts to expressions by name.-
Constructor Summary
ConstructorsConstructorDescriptionDataMappingExpressionContext(ExpressionContext source, ExpressionContext target) DataMappingExpressionContext(ExpressionContext source, ExpressionContext target, ExpressionContext previousSource, ExpressionContext previousTarget) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancontainsKeyImpl(String name) ExpressionContextReturns the source context of the previously mapped record, or null if there is none (such as for the first record).ExpressionContextReturns the target context of the previously mapped record, or null if there is none (such as for the first record).ExpressionContextExpressionContextprotected Class<?> getTypeImpl(String name) protected ObjectgetValueImpl(String name)
-
Constructor Details
-
DataMappingExpressionContext
public DataMappingExpressionContext(ExpressionContext source, ExpressionContext target, ExpressionContext previousSource, ExpressionContext previousTarget) -
DataMappingExpressionContext
public DataMappingExpressionContext(ExpressionContext source, ExpressionContext target)
-
-
Method Details
-
getSource
public ExpressionContext getSource() -
getTarget
public ExpressionContext getTarget() -
getPreviousSource
public ExpressionContext getPreviousSource()Returns the source context of the previously mapped record, or null if there is none (such as for the first record). -
getPreviousTarget
public ExpressionContext getPreviousTarget()Returns the target context of the previously mapped record, or null if there is none (such as for the first record). -
getTypeImpl
-
getValueImpl
-
containsKeyImpl
-
getRecord
-