MatchUp Object:Matchcode:Mapping: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
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.
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.
The same components are represented by the mapping items for address lines (address1 through address8). 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.


{{ Object Syntax
{{ Object Syntax
|Syntax=int = mdMC->GetMappingItemCount()
|Syntax=int = mdMC->GetMappingItemCount()
|C=int = mdMUMatchcodeGetMappingItemCount(mdMC)
|C=int = mdMUMatchcodeGetMappingItemCount(mdMC)
|.Net=integer = mdMC.MappingItemCount
|.Net=integer = mdMC.GetMappingItemCount
}}
}}


Line 31: Line 31:
|Syntax=MatchcodeMappingTarget = mdMC->GetMappingItemType(int)
|Syntax=MatchcodeMappingTarget = mdMC->GetMappingItemType(int)
|C=mdMUMatchcodeMappingTarget = mdMUMatchcodeGetMappingItemType (mdMC, int)
|C=mdMUMatchcodeMappingTarget = mdMUMatchcodeGetMappingItemType (mdMC, int)
|.Net=MatchcodeMappingTarget = mdMC.MappingItemType(integer)
|.Net=MatchcodeMappingTarget = mdMC.GetMappingItemType(integer)
}}
}}


Line 43: Line 43:
|Syntax=char = mdMC->GetMappingItemLabel(int)
|Syntax=char = mdMC->GetMappingItemLabel(int)
|C=char= mdMUMatchcodeGetMappingItemLabel(mdMC, int)
|C=char= mdMUMatchcodeGetMappingItemLabel(mdMC, int)
|.Net=string = mdMC.MappingItemLabel(integer)
|.Net=string = mdMC.GetMappingItemLabel(integer)
}}
}}




[[Category:MatchUp Object]]
[[Category:MatchUp Object]]

Latest revision as of 18:54, 7 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 through address8). 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.GetMappingItemCount


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.GetMappingItemType(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.GetMappingItemLabel(integer)