Class TopicAssocDep


  • public class TopicAssocDep
    extends Object
    Class used for locating associations and their types.
    • Method Detail

      • getAssociations

        public Collection getAssociations()
        Returns a set of keys for the associations
      • getAssociationTypeId

        public String getAssociationTypeId​(String key)
        Gets the id for the association type.
      • getAssociationType

        public String getAssociationType​(String key)
        Gets the name of the association.
      • getNumberOfOccurrences

        public int getNumberOfOccurrences​(String key)
        Gets the number of times this association occurres in the topicmap.
      • getAssociationRoleTypes

        public HashMap getAssociationRoleTypes​(String key)
        Returns a hashmap containg the id of the assocrltype, and the name of assocrltype
      • getAssociationRoles

        public HashMap getAssociationRoles​(String key)
        Return a hashmap containg the id and the name of all the topictypes for all the topics that play in this association.
      • getAssociationDetails

        public Collection getAssociationDetails​(String key)
        Returns a Collection of the different associations that have this associationtype.
      • getAssociationRoleTypesOrdered

        public String[] getAssociationRoleTypesOrdered​(String key)
        Gets the association roles ordered aplhabetically