Interface AssociationWalkerListenerIF


  • public interface AssociationWalkerListenerIF
    PUBLIC: This interface defines a listener to the AssociationWalker. The listener is invoked once for each triple of topic, association, associated-topic found by the walker. The event processing allows the handler to prematurely terminate the walk. (NB these triples are NOT "triples" in the RDF sense.)
    • Method Detail

      • walkAssociation

        void walkAssociation​(TopicIF leftRolePlayer,
                             AssociationIF association,
                             TopicIF rightRolePlayer)
        PUBLIC: The function invoked by the AssociationWalker.
        Parameters:
        leftRolePlayer - The first topic in the triple; an object implementing TopicIF.
        association - The association in the triple; an object implementing AssociationIF.
        rightRolePlayer - The second topic in the triple; an object implementing TopicIF.