All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.univocity.api.config.builders.ReferencedDestinationFields Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2014 uniVocity Software Pty Ltd. All rights reserved.
 * This file is subject to the terms and conditions defined in file
 * 'LICENSE.txt', which is part of this source code package.
 ******************************************************************************/
package com.univocity.api.config.builders;

/**
 * The ReferencedDestinationFields configuration is obtained from a {@link ReferencedEntity} with {@link ReferencedEntity#referTo(String, String)}.
 *
 * 

It is used to define what destination fields in a {@link ReferenceMappingSetup} will receive * the identifier values of the referenced entity. * * @see ReferenceMappingSetup * @see IdentifierMappingSetup * @see EntityMapping * * @author uniVocity Software Pty Ltd - [email protected] * */ public interface ReferencedDestinationFields { /** * Defines the destination fields in a {@link ReferenceMappingSetup} that will receive * the identifier values of the referenced entity. * * @param fieldsOnDestination the fields in the destination entity that refer to another destination entity. * @return 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)
  • *
*/ public ReferenceTransform on(String... fieldsOnDestination); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy