Show/Hide Toolbars

Waysys on the Web

The relationship among entities is expressed through the type of an attribute.  

 

    ENTITY RelationParty SUBTYPE OF (ObjectEffectivity);

        typeRelationParty : CodeTypeRelationParty;

        typeRelationPartyInverse : CodeTypeRelationParty;

        primary : Party;

        secondary : Party;

    END_ENTITY;

 

In the above example, the attribute primary relates the RelationParty entity to a Party entity.