How to set N - 1 (recipient) correctly?
I've a schema abc:multipleops (that stores all operations - transactions - related to a recipient) that I need to stablish a N-1 relationship with Recipients. The relationship should be visible from both sides.
documentation says, I just should not type: revCardinality
revCardinality (optional): with value “single” populates cardinality with type 1-1 (1-N by default)
So, this is what I need to enter to abc:multipleops, so multiple operations are linked to a single recipient???
I'm crossing revCardinality="single" meaning that I'll remove this part from the code below:
<element integrity="normal" label="Recipient" name="recipient" noDbIndex="true"revCardinality="single" revLabel="multipleops (Link)" revLink="multipleops"
revTarget="@codinterno" target="nms:recipient" type="link">
<join xpath-dst="@codinterno" xpath-src="@codinterno"/>
</element>
How can I validate it from the interface?