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

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

The newest version!
/*******************************************************************************
 * 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;

import com.univocity.api.engine.*;

/**
 * The GeneratedIdentifierTransform configuration is obtained from an {@link IdentifierType} configuration
 * which is part of the configuration initialized by a call to {@link IdentifierMappingSetup#associate(String...)}
 *
 * 

It is used to define what functions in the {@link DataIntegrationEngine} should be used to process values from an input field and transform them into values * that will then be associated with the generated identifier of a destination field. * * @see IdentifierMappingSetup * @see FunctionCall * * @author uniVocity Software Pty Ltd - [email protected] * */ public interface GeneratedIdentifierTransform { /** * Defines what sequence of functions in the {@link DataIntegrationEngine} should be used to process values from an input field and transform them into values * that will then be associated with generated identifier of a destination entity. * *

This completes the configuration started in {@link IdentifierMappingSetup#associate(String...)}

* * @param functionNames the sequence of function names that will be executed against each value read from the input. *

Note: this establishes a chaining of functions: * If the first function trims strings, then the second function will receive a trimmed String instead of the original value.

*/ public void readingWith(String... functionNames); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy