Interface AutoMappingPolicy
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CompositeAutoMappingPolicy, DefaultAutoMappingPolicy
An
AutoMappingPolicy derives the target column assignment for a given argName by parsing or mapping the given argName.
Instances should be immutable because they are part of the static configuration.
- Author:
- Karl Eilebrecht
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisApplicable(String argName) Returns whether this mapping policy can map the given argument to a columnReturns the column assignment for the given argName
-
Method Details
-
isApplicable
Returns whether this mapping policy can map the given argument to a column- Parameters:
argName-- Returns:
- true if the policy is applicable
-
map
Returns the column assignment for the given argName- Parameters:
argName-ctx-- Returns:
- column assignment
- Throws:
de.calamanari.adl.cnv.tps.ConfigException- if not applicable or if the underlying resolution failed
-