com.univocity.api.config.builders
Interface GeneratedIdentifierTransform


public interface GeneratedIdentifierTransform

The GeneratedIdentifierTransform configuration is obtained from an IdentifierType configuration which is part of the configuration initialized by a call to IdentifierMappingSetup.associate(String...)

It is used to define what functions in the 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.

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

Method Summary
 void readingWith(String... functionNames)
          Defines what sequence of functions in the 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.
 

Method Detail

readingWith

void readingWith(String... functionNames)
Defines what sequence of functions in the 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 IdentifierMappingSetup.associate(String...)

Parameters:
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.



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