net.ontopia.topicmaps.impl.basic.index
Class StatisticsIndex

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractIndex
      extended by net.ontopia.topicmaps.impl.utils.BasicIndex
          extended by net.ontopia.topicmaps.impl.basic.index.StatisticsIndex
All Implemented Interfaces:
IndexIF, StatisticsIndexIF, EventListenerIF

public class StatisticsIndex
extends BasicIndex
implements StatisticsIndexIF

INTERNAL: The basic implementation of the statistics index.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
BasicIndex.EventHandler
 
Field Summary
 
Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
handlers
 
Method Summary
 int getAssociationCount()
          Return the number of associations in the topicmap.
 int getAssociationTypeCount()
          Returns the number of topics used as association type.
 int getItemIdentifierCount()
          Returns the number of item identifiers in the topicmap.
 int getNoNameTopicCount()
          Returns the number of topics without a name.
 int getOccurrenceCount()
          Returns the number of occurrences in the topicmap.
 int getOccurrenceTypeCount()
          Returns the number of topics used as occurrence type.
 int getRoleCount()
          Returns the number of roles in the topicmap.
 int getRoleTypeCount()
          Returns the number of topics used as association role type.
 int getSubjectIdentifierCount()
          Returns the number of subject identifiers in the topicmap.
 int getSubjectLocatorCount()
          Returns the number of subject locators in the topicmap.
 int getTopicCount()
          Returns the number of topics in the topicmap.
 int getTopicNameCount()
          Returns the number of topic names in the topicmap.
 int getTopicNameTypeCount()
          Returns the number of topics used as topic name type.
 int getTopicTypeCount()
          Returns the number of topics that are used as topic type.
 int getTypedTopicCount()
          Returns the number of topics in the topicmap that have a type.
 int getUntypedTopicCount()
          Returns the number of topics without a type.
 int getVariantCount()
          Returns the number of variant names in the topicmap.
 
Methods inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex
getIndex, processEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTopicCount

public int getTopicCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics in the topicmap.

Specified by:
getTopicCount in interface StatisticsIndexIF
Returns:
the number of topics in the topicmap.

getTypedTopicCount

public int getTypedTopicCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics in the topicmap that have a type.

Specified by:
getTypedTopicCount in interface StatisticsIndexIF
Returns:
the number of topics in the topicmap that have a type.

getUntypedTopicCount

public int getUntypedTopicCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics without a type.

Specified by:
getUntypedTopicCount in interface StatisticsIndexIF
Returns:
the number of topics without a type.

getTopicTypeCount

public int getTopicTypeCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics that are used as topic type.

Specified by:
getTopicTypeCount in interface StatisticsIndexIF
Returns:
the number of topics that are used as topic type.

getAssociationCount

public int getAssociationCount()
Description copied from interface: StatisticsIndexIF
Return the number of associations in the topicmap.

Specified by:
getAssociationCount in interface StatisticsIndexIF
Returns:
the number of associations in the topicmap.

getAssociationTypeCount

public int getAssociationTypeCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics used as association type.

Specified by:
getAssociationTypeCount in interface StatisticsIndexIF
Returns:
the number of topics used as association type.

getRoleCount

public int getRoleCount()
Description copied from interface: StatisticsIndexIF
Returns the number of roles in the topicmap.

Specified by:
getRoleCount in interface StatisticsIndexIF
Returns:
the number of roles in the topicmap.

getRoleTypeCount

public int getRoleTypeCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics used as association role type.

Specified by:
getRoleTypeCount in interface StatisticsIndexIF
Returns:
the number of topics used as association role type.

getOccurrenceCount

public int getOccurrenceCount()
Description copied from interface: StatisticsIndexIF
Returns the number of occurrences in the topicmap.

Specified by:
getOccurrenceCount in interface StatisticsIndexIF
Returns:
the number of occurrences in the topicmap.

getOccurrenceTypeCount

public int getOccurrenceTypeCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics used as occurrence type.

Specified by:
getOccurrenceTypeCount in interface StatisticsIndexIF
Returns:
the number of topics used as occurrence type.

getTopicNameCount

public int getTopicNameCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topic names in the topicmap.

Specified by:
getTopicNameCount in interface StatisticsIndexIF
Returns:
the number of topic names in the topicmap.

getNoNameTopicCount

public int getNoNameTopicCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics without a name.

Specified by:
getNoNameTopicCount in interface StatisticsIndexIF
Returns:
the number of topics without a name.

getTopicNameTypeCount

public int getTopicNameTypeCount()
Description copied from interface: StatisticsIndexIF
Returns the number of topics used as topic name type.

Specified by:
getTopicNameTypeCount in interface StatisticsIndexIF
Returns:
the number of topics used as topic name type.

getVariantCount

public int getVariantCount()
Description copied from interface: StatisticsIndexIF
Returns the number of variant names in the topicmap.

Specified by:
getVariantCount in interface StatisticsIndexIF
Returns:
the number of variant names in the topicmap.

getSubjectIdentifierCount

public int getSubjectIdentifierCount()
Description copied from interface: StatisticsIndexIF
Returns the number of subject identifiers in the topicmap.

Specified by:
getSubjectIdentifierCount in interface StatisticsIndexIF
Returns:
the number of subject identifiers in the topicmap.

getSubjectLocatorCount

public int getSubjectLocatorCount()
Description copied from interface: StatisticsIndexIF
Returns the number of subject locators in the topicmap.

Specified by:
getSubjectLocatorCount in interface StatisticsIndexIF
Returns:
the number of subject locators in the topicmap.

getItemIdentifierCount

public int getItemIdentifierCount()
Description copied from interface: StatisticsIndexIF
Returns the number of item identifiers in the topicmap.

Specified by:
getItemIdentifierCount in interface StatisticsIndexIF
Returns:
the number of item identifiers in the topicmap.


Copyright © 2000-2012 Ontopia.