Class TopicAssocDep
java.lang.Object
net.ontopia.topicmaps.cmdlineutils.statistics.TopicAssocDep
Class used for locating associations and their types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a Collection of the different associations that have this associationtype.String[]getAssociationDetails(String key, AssociationIF association) Return a hashmap containg the id and the name of all the topictypes for all the topics that play in this association.Returns a hashmap containg the id of the assocrltype, and the name of assocrltypeString[]Gets the association roles ordered aplhabeticallyReturns a set of keys for the associationsgetAssociationType(String key) Gets the name of the association.Gets the id for the association type.intGets the number of times this association occurres in the topicmap.String[]sortAlpha(Collection collection)
-
Constructor Details
-
TopicAssocDep
- Throws:
NullPointerException
-
-
Method Details
-
getAssociations
Returns a set of keys for the associations -
getAssociationTypeId
Gets the id for the association type. -
getAssociationType
Gets the name of the association. -
getNumberOfOccurrences
Gets the number of times this association occurres in the topicmap. -
getAssociationRoleTypes
Returns a hashmap containg the id of the assocrltype, and the name of assocrltype -
getAssociationRoles
Return a hashmap containg the id and the name of all the topictypes for all the topics that play in this association. -
getAssociationDetails
Returns a Collection of the different associations that have this associationtype. -
getAssociationRoleTypesOrdered
Gets the association roles ordered aplhabetically -
getAssociationDetails
-
sortAlpha
-