|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.cmdlineutils.statistics.TopicAssocDep
public class TopicAssocDep
Class used for locating associations and their types.
Constructor Summary | |
---|---|
TopicAssocDep(TopicMapIF tm)
|
Method Summary | |
---|---|
java.util.Collection |
getAssociationDetails(java.lang.String key)
Returns a Collection of the different associations that have this associationtype. |
java.lang.String[] |
getAssociationDetails(java.lang.String key,
AssociationIF association)
|
java.util.HashMap |
getAssociationRoles(java.lang.String key)
Return a hashmap containg the id and the name of all the topictypes for all the topics that play in this association. |
java.util.HashMap |
getAssociationRoleTypes(java.lang.String key)
Returns a hashmap containg the id of the assocrltype, and the name of assocrltype |
java.lang.String[] |
getAssociationRoleTypesOrdered(java.lang.String key)
Gets the association roles ordered aplhabetically |
java.util.Collection |
getAssociations()
Returns a set of keys for the associations |
java.lang.String |
getAssociationType(java.lang.String key)
Gets the name of the association. |
java.lang.String |
getAssociationTypeId(java.lang.String key)
Gets the id for the association type. |
int |
getNumberOfOccurrences(java.lang.String key)
Gets the number of times this association occurres in the topicmap. |
java.lang.String[] |
sortAlpha(java.util.Collection collection)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopicAssocDep(TopicMapIF tm) throws java.lang.NullPointerException
java.lang.NullPointerException
Method Detail |
---|
public java.util.Collection getAssociations()
public java.lang.String getAssociationTypeId(java.lang.String key)
public java.lang.String getAssociationType(java.lang.String key)
public int getNumberOfOccurrences(java.lang.String key)
public java.util.HashMap getAssociationRoleTypes(java.lang.String key)
public java.util.HashMap getAssociationRoles(java.lang.String key)
public java.util.Collection getAssociationDetails(java.lang.String key)
public java.lang.String[] getAssociationRoleTypesOrdered(java.lang.String key)
public java.lang.String[] getAssociationDetails(java.lang.String key, AssociationIF association)
public java.lang.String[] sortAlpha(java.util.Collection collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |