com.univocity.api.config.builders
Interface ReferencedDestinationFields


public interface ReferencedDestinationFields

The ReferencedDestinationFields configuration is obtained from a ReferencedEntity with ReferencedEntity.referTo(String, String).

It is used to define what destination fields in a ReferenceMappingSetup will receive the identifier values of the referenced entity.

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
ReferenceMappingSetup, IdentifierMappingSetup, EntityMapping

Method Summary
 ReferenceTransform on(String... fieldsOnDestination)
          Defines the destination fields in a ReferenceMappingSetup that will receive the identifier values of the referenced entity.
 

Method Detail

on

ReferenceTransform on(String... fieldsOnDestination)
Defines the destination fields in a ReferenceMappingSetup that will receive the identifier values of the referenced entity.

Parameters:
fieldsOnDestination - the fields in the destination entity that refer to another destination entity.
Returns:
the (optional) next steps of a reference mapping configuration:
  • provide a function sequence that should be executed to transform input values before using them to look for referenced identifiers in the metadata
  • configure the course of action in case a reference cannot be matched (defaults to "ignore and proceed", leaving it null)


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