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 source
Field
.
Complex field is not allowed.
- Since:
- 4.1.0
-
Method Summary
Modifier and TypeMethodDescriptionaggregate
(AggregateTransformationDefinition<?, ?> transformation) Aggregates the input value with others into a single value.convert
(ConversionTransformationDefinition<?, ?> transformation) Converts the input value.crossReference
(CrossReferenceTransformationDefinition<?, ?> transformation) Looks up a value with a cross reference.getField()
Returns the field of this step.final DataType
Returns the data type of the input.final DataType
Returns the output data type of this step.final boolean
Returnstrue
if the input of this step is multi-valued.final boolean
Returnstrue
if the output of this step is multi-valued.final boolean
Returnstrue
if input size is unbounded.final boolean
Returnstrue
if output size is unbounded.split
(SplitTransformationDefinition<?, ?> transformation) Splits the single input value into multiple ones.Maps the value with a target field.Methods inherited from class com.orchestranetworks.addon.dint.mapping.steps.MappingStep
equals, hashCode
-
Method Details
-
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
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
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
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>
-