- java.lang.Object
-
- com.orchestranetworks.addon.dint.mapping.steps.MappingStep<SF,TF>
-
- com.orchestranetworks.addon.dint.mapping.steps.SourceFieldMappingStep<SF,TF>
-
- All Implemented Interfaces:
SingleOutputTransformableStep<SF,TF>
public final class SourceFieldMappingStep<SF extends Field,TF extends Field> extends MappingStep<SF,TF> implements SingleOutputTransformableStep<SF,TF>
Mapping step for a sourceField
.Complex field is not allowed.
- Since:
- 4.1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateTransformationMappingStep<SF,TF>
aggregate(AggregateTransformationDefinition<?,?> transformation)
Aggregates the input value with others into a single value.ConversionTransformationMappingStep<SF,TF>
convert(ConversionTransformationDefinition<?,?> transformation)
Converts the input value.CrossReferenceTransformationMappingStep<SF,TF>
crossReference(CrossReferenceTransformationDefinition<?,?> transformation)
Looks up a value with a cross reference.SF
getField()
Returns the field of this step.DataType
getInputDataType()
Returns the data type of the input.DataType
getOutputDataType()
Returns the output data type of this step.boolean
hasMultiValuedInput()
Returnstrue
if the input of this step is multi-valued.boolean
hasMultiValuedOutput()
Returnstrue
if the output of this step is multi-valued.boolean
hasUnboundedInputSize()
Returnstrue
if input size is unbounded.boolean
hasUnboundedOutputSize()
Returnstrue
if output size is unbounded.SplitTransformationMappingStep<SF,TF>
split(SplitTransformationDefinition<?,?> transformation)
Splits the single input value into multiple ones.TargetFieldMappingStep<SF,TF>
toField(TF field)
Maps the value with a target field.-
Methods inherited from class com.orchestranetworks.addon.dint.mapping.steps.MappingStep
equals, hashCode
-
-
-
-
Method Detail
-
getField
public SF getField()
Returns the field of this step.
-
convert
public ConversionTransformationMappingStep<SF,TF> convert(ConversionTransformationDefinition<?,?> transformation)
Description copied from interface:SingleOutputTransformableStep
Converts the input value.
-
aggregate
public AggregateTransformationMappingStep<SF,TF> aggregate(AggregateTransformationDefinition<?,?> transformation)
Description copied from interface:SingleOutputTransformableStep
Aggregates the input value with others into a single value.
-
toField
public TargetFieldMappingStep<SF,TF> toField(TF field)
Description copied from interface:SingleOutputTransformableStep
Maps the value with a target field.
-
crossReference
public CrossReferenceTransformationMappingStep<SF,TF> crossReference(CrossReferenceTransformationDefinition<?,?> transformation)
Description copied from interface:SingleOutputTransformableStep
Looks up a value with a cross reference.- Specified by:
crossReference
in interfaceSingleOutputTransformableStep<SF extends Field,TF extends Field>
- Parameters:
transformation
- The cross reference transformation.
-
split
public SplitTransformationMappingStep<SF,TF> split(SplitTransformationDefinition<?,?> transformation)
Description copied from interface:SingleOutputTransformableStep
Splits the single input value into multiple ones.
-
getInputDataType
public final DataType getInputDataType()
Description copied from class:MappingStep
Returns the data type of the input.- Specified by:
getInputDataType
in classMappingStep<SF extends Field,TF extends Field>
-
hasMultiValuedInput
public final boolean hasMultiValuedInput()
Description copied from class:MappingStep
Returnstrue
if the input of this step is multi-valued.- Specified by:
hasMultiValuedInput
in classMappingStep<SF extends Field,TF extends Field>
-
hasUnboundedInputSize
public final boolean hasUnboundedInputSize()
Description copied from class:MappingStep
Returnstrue
if input size is unbounded.Returns
false
if input size is fixed.- Specified by:
hasUnboundedInputSize
in classMappingStep<SF extends Field,TF extends Field>
-
getOutputDataType
public final DataType getOutputDataType()
Description copied from class:MappingStep
Returns the output data type of this step.- Specified by:
getOutputDataType
in classMappingStep<SF extends Field,TF extends Field>
-
hasMultiValuedOutput
public final boolean hasMultiValuedOutput()
Description copied from class:MappingStep
Returnstrue
if the output of this step is multi-valued.- Specified by:
hasMultiValuedOutput
in classMappingStep<SF extends Field,TF extends Field>
-
hasUnboundedOutputSize
public final boolean hasUnboundedOutputSize()
Description copied from class:MappingStep
Returnstrue
if output size is unbounded.Returns
false
if output size is fixed.- Specified by:
hasUnboundedOutputSize
in classMappingStep<SF extends Field,TF extends Field>
-
-