|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.impl.utils.AbstractIndex net.ontopia.topicmaps.impl.rdbms.index.RDBMSIndex net.ontopia.topicmaps.impl.rdbms.index.ClassInstanceIndex
public class ClassInstanceIndex
INTERNAL: The rdbms class instance index implementation.
Method Summary | |
---|---|
java.util.Collection<AssociationRoleIF> |
getAssociationRoles(TopicIF association_role_type)
PUBLIC: Gets all association roles that are of the given type. |
java.util.Collection<TopicIF> |
getAssociationRoleTypes()
PUBLIC: Gets the topics that are used as association role types. |
java.util.Collection<AssociationIF> |
getAssociations(TopicIF association_type)
PUBLIC: Gets all associations that are of the given type. |
java.util.Collection<TopicIF> |
getAssociationTypes()
PUBLIC: Gets the topics that are used as association types. |
java.util.Collection<OccurrenceIF> |
getOccurrences(TopicIF occurrence_type)
PUBLIC: Gets all occurrences that are of the given type. |
java.util.Collection<TopicIF> |
getOccurrenceTypes()
PUBLIC: Gets the topics that are used as occurrence types. |
java.util.Collection<TopicNameIF> |
getTopicNames(TopicIF name_type)
PUBLIC: Gets all topic names that are of the given type. |
java.util.Collection<TopicIF> |
getTopicNameTypes()
PUBLIC: Gets the topics that are used as topic name types. |
java.util.Collection<TopicIF> |
getTopics(TopicIF topic_type)
PUBLIC: Gets all topics that are instances of the given type. |
java.util.Collection<TopicIF> |
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.rdbms.index.RDBMSIndex |
---|
executeQuery, getIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.util.Collection<TopicIF> getTopics(TopicIF topic_type)
ClassInstanceIndexIF
getTopics
in interface ClassInstanceIndexIF
topic_type
- The given type; an object implementing TopicIF.
public java.util.Collection<TopicNameIF> getTopicNames(TopicIF name_type)
ClassInstanceIndexIF
getTopicNames
in interface ClassInstanceIndexIF
name_type
- The given type; an object implementing TopicIF.
public java.util.Collection<OccurrenceIF> getOccurrences(TopicIF occurrence_type)
ClassInstanceIndexIF
getOccurrences
in interface ClassInstanceIndexIF
occurrence_type
- The given type; an object implementing TopicIF.
public java.util.Collection<AssociationIF> getAssociations(TopicIF association_type)
ClassInstanceIndexIF
getAssociations
in interface ClassInstanceIndexIF
association_type
- The given type; an object implementing TopicIF.
public java.util.Collection<AssociationRoleIF> getAssociationRoles(TopicIF association_role_type)
ClassInstanceIndexIF
getAssociationRoles
in interface ClassInstanceIndexIF
association_role_type
- The given type; an object implementing TopicIF.
public java.util.Collection<TopicIF> getTopicTypes()
ClassInstanceIndexIF
getTopicTypes
in interface ClassInstanceIndexIF
public java.util.Collection<TopicIF> getTopicNameTypes()
ClassInstanceIndexIF
getTopicNameTypes
in interface ClassInstanceIndexIF
public java.util.Collection<TopicIF> getOccurrenceTypes()
ClassInstanceIndexIF
getOccurrenceTypes
in interface ClassInstanceIndexIF
public java.util.Collection<TopicIF> getAssociationTypes()
ClassInstanceIndexIF
getAssociationTypes
in interface ClassInstanceIndexIF
public java.util.Collection<TopicIF> getAssociationRoleTypes()
ClassInstanceIndexIF
getAssociationRoleTypes
in interface ClassInstanceIndexIF
public boolean usedAsTopicType(TopicIF topic)
ClassInstanceIndexIF
usedAsTopicType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
public boolean usedAsTopicNameType(TopicIF topic)
ClassInstanceIndexIF
usedAsTopicNameType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
public boolean usedAsOccurrenceType(TopicIF topic)
ClassInstanceIndexIF
usedAsOccurrenceType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
public boolean usedAsAssociationType(TopicIF topic)
ClassInstanceIndexIF
usedAsAssociationType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
public boolean usedAsAssociationRoleType(TopicIF topic)
ClassInstanceIndexIF
usedAsAssociationRoleType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
public boolean usedAsType(TopicIF topic)
ClassInstanceIndexIF
usedAsType
in interface ClassInstanceIndexIF
topic
- An object implementing TopicIF.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |