com.univocity.api.config.builders
Interface IdentifierCopy

All Known Subinterfaces:
IdentifierType

public interface IdentifierCopy

The IdentifierCopy configuration is obtained from a IdentifierMappingSetup using IdentifierMappingSetup.associate(String...).

It is used to define which identifier fields of a destination entity should receive values extracted from a selection of fields in the source entity.

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
FieldMappingSetup

Method Summary
 IdentifierTransform to(String... destinationFields)
          Defines which identifier fields of a destination entity should receive values extracted from a selection of fields in the source entity.
 

Method Detail

to

IdentifierTransform to(String... destinationFields)
Defines which identifier fields of a destination entity should receive values extracted from a selection of fields in the source entity.

Parameters:
destinationFields - the fields of the destination entity. Source and destination fields must:
  • have the same number of elements, or
  • either the source or destination fields must contain one element only if the other has multiple fields. In this case a function or reference mapping will be necessary to transform the input.
Returns:
the next (optional) step of an identifier mapping configuration:
  • define what functions should be executed to transform input values before copying them to the destination fields
  • associate more source fields to identifiers of the destination entity


Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.