QualifiedAssociations
(Created page with "Qualified associations are many-ends of associations that can be reduced to 1 result of the many by sending in qualifier in the brackets at the end of the many-end: SomeObject.SomeManyObjectsAssociation[someQualifier1,someQualifier2] : OneObject of type element type of the ManyAssociation. The Qualification is done by locating a method following the pattern Qualify_<SomeManyObjectsAssociation>(someQualifier1,someQualifier2):ObjectType")
 
No edit summary
Line 4: Line 4:


The Qualification is done by locating a method following the pattern Qualify_<SomeManyObjectsAssociation>(someQualifier1,someQualifier2):ObjectType
The Qualification is done by locating a method following the pattern Qualify_<SomeManyObjectsAssociation>(someQualifier1,someQualifier2):ObjectType
If no such method is found a generic operator accepting integer as qualifier is used - and the result is corresponding to the [[Documentation:OCLOperators at0|at0 operator]]

Revision as of 15:53, 19 January 2025

This page was created by Hans.karlsen@mdriven.net on 2025-01-19. Last edited by Stephanie@mdriven.net on 2025-02-28.

Qualified associations are many-ends of associations that can be reduced to 1 result of the many by sending in qualifier in the brackets at the end of the many-end:

SomeObject.SomeManyObjectsAssociation[someQualifier1,someQualifier2] : OneObject of type element type of the ManyAssociation.

The Qualification is done by locating a method following the pattern Qualify_<SomeManyObjectsAssociation>(someQualifier1,someQualifier2):ObjectType

If no such method is found a generic operator accepting integer as qualifier is used - and the result is corresponding to the at0 operator