ARCAD-Software / AFS

Arcad Foundation Services (AFS)
Eclipse Public License 2.0
7 stars 0 forks source link

[MetaData] Extend the selection Criteria. #81

Closed arcadmlafon closed 6 hours ago

arcadmlafon commented 6 hours ago

Some other criteria are required especially some related to comparison through a "link" based assiciation (i.e. "n to m" association).

arcadmlafon commented 6 hours ago

We can add the possibility to standard criteria (I.e. criteria not espacially related to links) to be able to accept a link code in the attribute reference line and if there is a link code then reduce them to the correspondent link based criteria.

For instance a test:

<equals attribute="attributeA.link.attributeB" value="test" />

could be deduced to :

<linkequals reference="attributeA" linkCode="link" attribute="attributeB" value="test" />

arcadmlafon commented 6 hours ago

Just the most used criteria will be added for now... the complete implementation of this feature would require to multiply by two the number of criteria.