MatchUp Object:Matchcode:Mapping: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{MatchUpObjectMatchcodeInterfaceNav |FunctionsCollapse= }} {{CustomTOC}} Mapping information is different from component information, revealing the order and mapping types ..."
 
No edit summary
Line 24: Line 24:
This function returns the specific type of a mapping item specified by an integer value.
This function returns the specific type of a mapping item specified by an integer value.


For a list of these values, see [[MatchUp Object:Enumerations#MatchcodeMapping|MatchcodeMapping Enumerations]].
The return value is a variable of type [[MatchUp Object:Enumerations#MatchcodeMappingTarget|MatchcodeMappingTarget]] that indicates the type of mapping item found at the position indicated by the integer value passed to this function.


The return value is a variable of type MatchcodeMappingTarget that indicates the type of mapping item found at the position indicated by the integer value passed to this function.
For a list of these enumerations, see [[MatchUp Object:Enumerations#MatchcodeMappingTarget|MatchcodeMappingTarget Enumerations]].


{{ Object Syntax
{{ Object Syntax

Revision as of 19:08, 4 August 2015

← MatchUp Object Reference

MatchUp Object Matchcode Interface Navigation
Overview
Order of Operations
Mapping Information
Functions
Initialization
Creation
Retrieval
Properties
Component Information
Mapping
Change Settings
Read Settings
Modification
Saving



Mapping information is different from component information, revealing the order and mapping types that should be used when creating the mappings in any one of the deduper interfaces.

GetMappingItemCount

This function returns an integer value showing the number of mappings required for the current matchcode.

Mapping items differ from matchcode components, mostly in how street address lines are represented. Components include the individual address components that are used to construct the match key, such as street number and street name.

The same components are represented by the mapping items for address lines (address1, address2 and address3). No matter what order the components appear in the matchcode, the address lines mapping items appear at the end of the list of mapping items.

Syntax int = mdMC->GetMappingItemCount()
C int = mdMUMatchcodeGetMappingItemCount(mdMC)
.Net integer = mdMC.MappingItemCount


GetMappingItemType

This function returns the specific type of a mapping item specified by an integer value.

The return value is a variable of type MatchcodeMappingTarget that indicates the type of mapping item found at the position indicated by the integer value passed to this function.

For a list of these enumerations, see MatchcodeMappingTarget Enumerations.

Syntax MatchcodeMappingTarget = mdMC->GetMappingItemType(int)
C mdMUMatchcodeMappingTarget = mdMUMatchcodeGetMappingItemType (mdMC, int)
.Net MatchcodeMappingTarget = mdMC.MappingItemType(integer)


GetMappingItemLabel

This function returns a character string containing the label, if any, of the mapping item specified by an integer value.

If the specified mapping item does not have a label, this function returns the name of the mapping item type.

Syntax char = mdMC->GetMappingItemLabel(int)
C char= mdMUMatchcodeGetMappingItemLabel(mdMC, int)
.Net string = mdMC.MappingItemLabel(integer)