Hi @Kumar_27 ,
While creating the link, the following attributes are mandatory to define: label, name, target, and type.
Other attributes you can add depends on your link definitions/structure and few attributes are added automatically.
Example,
revCardinality:
This is Optional. If you want to create a one to one link between 2 schema, you need to define revCardinality="single" . If you haven't addet revCardinality, it will consider those 2 schema has 1 to Many relationship.
Integrity:
This defines, If you delete a record from schema-1, then what action to be made on schema-2 record, which is linked with schema-1.
Lets say you have 2 schema, country and recipient. If you delete a record (Country-A) from country schema, what should happen to the recipient records linked with Country-A? This can be defined using integrity. Possible values are as below:
- define: it is possible to delete the source occurrence if it is no longer referenced by a target occurrence,
- normal: deleting the source occurrence initializes the keys of the link to the target occurrence (default mode), this type of integrity initializes all foreign keys,
- own: deleting the source occurrence leads to the deletion of the target occurrence,
- owncopy: the same as own (in case of deletion) or duplicates the occurrences (in case of duplication),
- neutral: does nothing.
revLink:
To give a name of reverse link from the target schema (deduced automatically by default)
For more information, you can refer this documentation
~ ParthaSarathy S