Example custom identifier type
Tags
The xml describing a custom identifier type uses specific tags, as follows:
<name>
denotes the identifier's internal name and must be unique (standard match identifiers are all prefixed with "dnm:")
<label>
denotes the identifier's label as it appears in the GUI
<description>
denotes the identifier's description as it appears in the GUI
<systemDefinition>
is reserved for future use and must be set to false.
See also the Example custom comparison for how to associate comparisons with identifier types.
Example 2-6 Custom Identifier added to matchlibrary.xml
The following example xml represents a custom identifier added to matchlibrary.xml:
<identifierDefinition> <name>newidentifier</name> <label>My New Identifier</label> <description>The description</description> <systemDefinition>false</systemDefinition> <formalAttribute> <name>value1</name> <label>First value</label> <type>string</type> </formalAttribute> <formalAttribute> <name>value2</name> <label>Second value</label> <type>number</type> </formalAttribute> </identifierDefinition>