Interface IdMapping
-
- All Known Implementing Classes:
DynamicIdMapping
public interface IdMappingThe Interface IdMapping.- Author:
- Dinesh Karuppiah.T
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Optional<IdMapping>getIdMapping(String name, IdMapping[] values, MappingConfig idMappingConfig)Method to get ID Mapping.StringgetIdname()Method to get ID name.BiFunction<MappingConfig,MatchType,List<String>>getMappingFunction()Method to get Mapping Function.Set<IdMapping>getSubIdMappings()Gets the sub id mappings.StringgetSubType()Gets the sub type.StringgetType()Gets the type.
-
-
-
Method Detail
-
getIdname
String getIdname()
Method to get ID name.- Returns:
- the idname
-
getMappingFunction
BiFunction<MappingConfig,MatchType,List<String>> getMappingFunction()
Method to get Mapping Function.- Returns:
- the mapping function
-
getIdMapping
static Optional<IdMapping> getIdMapping(String name, IdMapping[] values, MappingConfig idMappingConfig)
Method to get ID Mapping.- Parameters:
name- the namevalues- the valuesidMappingConfig- the id mapping config- Returns:
- the id mapping
-
getSubIdMappings
Set<IdMapping> getSubIdMappings()
Gets the sub id mappings.- Returns:
- the sub id mappings
-
getType
String getType()
Gets the type.- Returns:
- the type
-
getSubType
String getSubType()
Gets the sub type.- Returns:
- the sub type
-
-