|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.cmdlineutils.statistics.TopicAssocDep
public class TopicAssocDep
Class used for locating associations and their types.
Constructor Summary | |
---|---|
TopicAssocDep(TopicMapIF tm)
|
Method Summary | |
---|---|
Collection |
getAssociationDetails(String key)
Returns a Collection of the different associations that have this associationtype. |
String[] |
getAssociationDetails(String key,
AssociationIF association)
|
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. |
HashMap |
getAssociationRoleTypes(String key)
Returns a hashmap containg the id of the assocrltype, and the name of assocrltype |
String[] |
getAssociationRoleTypesOrdered(String key)
Gets the association roles ordered aplhabetically |
Collection |
getAssociations()
Returns a set of keys for the associations |
String |
getAssociationType(String key)
Gets the name of the association. |
String |
getAssociationTypeId(String key)
Gets the id for the association type. |
int |
getNumberOfOccurrences(String key)
Gets the number of times this association occurres in the topicmap. |
String[] |
sortAlpha(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 NullPointerException
NullPointerException
Method Detail |
---|
public Collection getAssociations()
public String getAssociationTypeId(String key)
public String getAssociationType(String key)
public int getNumberOfOccurrences(String key)
public HashMap getAssociationRoleTypes(String key)
public HashMap getAssociationRoles(String key)
public Collection getAssociationDetails(String key)
public String[] getAssociationRoleTypesOrdered(String key)
public String[] getAssociationDetails(String key, AssociationIF association)
public String[] sortAlpha(Collection collection)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |