Package org.ikasan.spec.mapping
Interface MappingService<CONFIGURATION>
-
public interface MappingService<CONFIGURATION>MappingService contract.- Author:
- Ikasan Development Team
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetTargetConfigurationValue(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceSystem, java.lang.String targetSystem, java.lang.String sourceSystemValue)For use on One to One mappings.java.lang.StringgetTargetConfigurationValue(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceSystem, java.lang.String targetSystem, java.util.List<java.lang.String> sourceSystemValues)For use on Many to One mappings who do not have source parameter names.java.util.List<java.lang.String>getTargetConfigurationValues(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<java.lang.String> sourceSystemValues)For use on Many to Many mappings that do not have the names defined.java.util.List<NamedResult>getTargetConfigurationValuesWithOrdinality(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<QueryParameter> sourceSystemValues)For use on Many to Many mappings that do have the names defined.java.lang.StringgetTargetConfigurationValueWithIgnores(java.lang.String clientName, java.lang.String configurationTypeName, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<java.lang.String> sourceSystemValues)For use on Many to One mappings who do not have source parameter names and will ignore non parameter matches.java.lang.StringgetTargetConfigurationValueWithIgnoresWithOrdinality(java.lang.String clientName, java.lang.String configurationTypeName, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<QueryParameter> sourceSystemValues)For use on Many to One mappings who have source parameter names and will ignore non parameter matches.voidsetConfiguration(CONFIGURATION configuration)Set the configuration on the service.
-
-
-
Method Detail
-
getTargetConfigurationValue
java.lang.String getTargetConfigurationValue(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceSystem, java.lang.String targetSystem, java.lang.String sourceSystemValue)For use on One to One mappings.- Parameters:
clientName-configurationType-sourceSystem-targetSystem-sourceSystemValue-- Returns:
-
getTargetConfigurationValue
java.lang.String getTargetConfigurationValue(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceSystem, java.lang.String targetSystem, java.util.List<java.lang.String> sourceSystemValues)For use on Many to One mappings who do not have source parameter names.- Parameters:
clientName-configurationType-sourceSystem-targetSystem-sourceSystemValues-- Returns:
-
getTargetConfigurationValueWithIgnores
java.lang.String getTargetConfigurationValueWithIgnores(java.lang.String clientName, java.lang.String configurationTypeName, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<java.lang.String> sourceSystemValues)For use on Many to One mappings who do not have source parameter names and will ignore non parameter matches.- Parameters:
clientName-configurationTypeName-sourceContext-targetContext-sourceSystemValues-- Returns:
-
getTargetConfigurationValueWithIgnoresWithOrdinality
java.lang.String getTargetConfigurationValueWithIgnoresWithOrdinality(java.lang.String clientName, java.lang.String configurationTypeName, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<QueryParameter> sourceSystemValues)For use on Many to One mappings who have source parameter names and will ignore non parameter matches.- Parameters:
clientName-configurationTypeName-sourceContext-targetContext-sourceSystemValues-- Returns:
-
getTargetConfigurationValues
java.util.List<java.lang.String> getTargetConfigurationValues(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<java.lang.String> sourceSystemValues)For use on Many to Many mappings that do not have the names defined.- Parameters:
clientName-configurationType-sourceContext-targetContext-sourceSystemValues-- Returns:
-
getTargetConfigurationValuesWithOrdinality
java.util.List<NamedResult> getTargetConfigurationValuesWithOrdinality(java.lang.String clientName, java.lang.String configurationType, java.lang.String sourceContext, java.lang.String targetContext, java.util.List<QueryParameter> sourceSystemValues)
For use on Many to Many mappings that do have the names defined.- Parameters:
clientName-configurationType-sourceContext-targetContext-sourceSystemValues-- Returns:
-
setConfiguration
void setConfiguration(CONFIGURATION configuration)
Set the configuration on the service.- Parameters:
configuration-
-
-