Skip to Content
0
Nov 13, 2019 at 11:05 AM

use of ordered attribute in many-to-many relation

1422 Views

What is the use of ordered attribute in many to many relation? Is it used for any sequencing or for any specific sorting order?

example code:

<relation code="ProductOperationProductRelation" autocreate="true" generate="true" localized="false"> <deployment table="ProductBadgeRelation" typecode="15020" /> <sourceElement qualifier="badges" type="ProductOperation" cardinality="many" ordered="true"> <description>Badges</description> <modifiers read="true" write="true" search="true" optional="true" /> </sourceElement> <targetElement qualifier="products" type="Product" cardinality="many" collectiontype="list" ordered="true"> <description>Products</description> <modifiers read="true" write="true" search="true" optional="true" /> </targetElement> </relation>