Interface AssociationIF

    • Method Detail

      • getRoleTypes

        Collection<TopicIF> getRoleTypes()
        PUBLIC: Gets a Collection of association role types found in this association. The returned collection does not contain any duplicates. Even if some roles have no type, null will not be returned as one of the role types in the returned set.
        Returns:
        A Collection of TopicIF objects.
      • getRolesByType

        Collection<AssociationRoleIF> getRolesByType​(TopicIF roletype)
        PUBLIC: Gets the association roles in this association which are of the given role type.
        Parameters:
        roletype - The type of the roles returned; an object implementing TopicIF. If null the method will return the roles that have no type.
        Returns:
        A Collection of AssociationRoleIF objects.
      • getRoles

        Collection<AssociationRoleIF> getRoles()
        PUBLIC: Gets all the association roles of the association. The returned roles may appear in any order.
        Returns:
        A collection of AssociationRoleIF objects.