|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.impl.utils.AbstractIndex
net.ontopia.topicmaps.impl.utils.BasicIndex
net.ontopia.topicmaps.impl.basic.index.ClassInstanceIndex
public class ClassInstanceIndex
INTERNAL: The basic dynamic class instance index implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
|---|
BasicIndex.EventHandler |
| Field Summary | |
|---|---|
protected CollectionMap |
assocs
|
protected CollectionMap |
bnames
|
protected CollectionMap |
occurs
|
protected CollectionMap |
roles
|
protected CollectionMap |
topics
|
| Fields inherited from class net.ontopia.topicmaps.impl.utils.BasicIndex |
|---|
handlers |
| Method Summary | |
|---|---|
Collection |
getAssociationRoles(TopicIF association_role_type)
PUBLIC: Gets all association roles that are of the given type. |
Collection |
getAssociationRoleTypes()
PUBLIC: Gets the topics that are used as association role types. |
Collection |
getAssociations(TopicIF association_type)
PUBLIC: Gets all associations that are of the given type. |
Collection |
getAssociationTypes()
PUBLIC: Gets the topics that are used as association types. |
Collection |
getOccurrences(TopicIF occurrence_type)
PUBLIC: Gets all occurrences that are of the given type. |
Collection |
getOccurrenceTypes()
PUBLIC: Gets the topics that are used as occurrence types. |
Collection |
getTopicNames(TopicIF basename_type)
PUBLIC: Gets all topic names that are of the given type. |
Collection |
getTopicNameTypes()
PUBLIC: Gets the topics that are used as topic name types. |
Collection |
getTopics(TopicIF topic_type)
PUBLIC: Gets all topics that are instances of the given type. |
Collection |
getTopicTypes()
PUBLIC: Gets all topics that are used as topic types. |
boolean |
usedAsAssociationRoleType(TopicIF topic)
PUBLIC: Returns true if the topic is used as an association role type. |
boolean |
usedAsAssociationType(TopicIF topic)
PUBLIC: Returns true if the topic is used as an association type. |
boolean |
usedAsOccurrenceType(TopicIF topic)
PUBLIC: Returns true if the topic is used as an occurrence type. |
boolean |
usedAsTopicNameType(TopicIF topic)
PUBLIC: Returns true if the topic is used as an topic name type. |
boolean |
usedAsTopicType(TopicIF topic)
PUBLIC: Returns true if the topic is used as a topic type somewhere. |
boolean |
usedAsType(TopicIF topic)
PUBLIC: Returns true if the topic is used as a type somewhere. |
| 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 |
| Field Detail |
|---|
protected CollectionMap topics
protected CollectionMap bnames
protected CollectionMap occurs
protected CollectionMap assocs
protected CollectionMap roles
| Method Detail |
|---|
public Collection getTopics(TopicIF topic_type)
ClassInstanceIndexIF
getTopics in interface ClassInstanceIndexIFtopic_type - The given type; an object implementing TopicIF.
public Collection getTopicNames(TopicIF basename_type)
ClassInstanceIndexIF
getTopicNames in interface ClassInstanceIndexIFbasename_type - The given type; an object implementing TopicIF.
public Collection getOccurrences(TopicIF occurrence_type)
ClassInstanceIndexIF
getOccurrences in interface ClassInstanceIndexIFoccurrence_type - The given type; an object implementing TopicIF.
public Collection getAssociations(TopicIF association_type)
ClassInstanceIndexIF
getAssociations in interface ClassInstanceIndexIFassociation_type - The given type; an object implementing TopicIF.
public Collection getAssociationRoles(TopicIF association_role_type)
ClassInstanceIndexIF
getAssociationRoles in interface ClassInstanceIndexIFassociation_role_type - The given type; an object implementing TopicIF.
public Collection getTopicTypes()
ClassInstanceIndexIF
getTopicTypes in interface ClassInstanceIndexIFpublic Collection getTopicNameTypes()
ClassInstanceIndexIF
getTopicNameTypes in interface ClassInstanceIndexIFpublic Collection getOccurrenceTypes()
ClassInstanceIndexIF
getOccurrenceTypes in interface ClassInstanceIndexIFpublic Collection getAssociationTypes()
ClassInstanceIndexIF
getAssociationTypes in interface ClassInstanceIndexIFpublic Collection getAssociationRoleTypes()
ClassInstanceIndexIF
getAssociationRoleTypes in interface ClassInstanceIndexIFpublic boolean usedAsTopicType(TopicIF topic)
ClassInstanceIndexIF
usedAsTopicType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
public boolean usedAsTopicNameType(TopicIF topic)
ClassInstanceIndexIF
usedAsTopicNameType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
public boolean usedAsOccurrenceType(TopicIF topic)
ClassInstanceIndexIF
usedAsOccurrenceType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
public boolean usedAsAssociationType(TopicIF topic)
ClassInstanceIndexIF
usedAsAssociationType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
public boolean usedAsAssociationRoleType(TopicIF topic)
ClassInstanceIndexIF
usedAsAssociationRoleType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
public boolean usedAsType(TopicIF topic)
ClassInstanceIndexIF
usedAsType in interface ClassInstanceIndexIFtopic - An object implementing TopicIF.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||