Interface AssociationRoleIF

    • Method Detail

      • getAssociation

        AssociationIF getAssociation()
        PUBLIC: Gets the association to which this association role belongs.
        Returns:
        The association to which this association role belongs; an object implementing AssociationIF.
      • getPlayer

        TopicIF getPlayer()
        PUBLIC: Gets the topic that plays this association role (this member of the association).
        Returns:
        The topic (member) which plays this role in the association.
      • setPlayer

        void setPlayer​(TopicIF player)
        PUBLIC: Sets the topic that plays this association role. Note that this has the side-effect of removing the role from its current player, if any, and inserting it on the new player, if any.
        Parameters:
        player - The topic (member) which plays this role in the association. Can be null; if null, then the effect is that there is no player of this role in this association.