public class ClassInstanceIndex extends RDBMSIndex implements ClassInstanceIndexIF
imanager, transaction
Modifier and Type | Method and Description |
---|---|
Collection<OccurrenceIF> |
getAllOccurrences()
PUBLIC: Gets all occurrences that are in the topic map.
|
Collection<TopicNameIF> |
getAllTopicNames()
PUBLIC: Gets all topic names that are in the topic map.
|
Collection<VariantNameIF> |
getAllVariantNames()
PUBLIC: Gets all variant names that are in the topic map.
|
Collection<AssociationRoleIF> |
getAssociationRoles(TopicIF association_role_type)
PUBLIC: Gets all association roles that are of the given type.
|
Collection<AssociationRoleIF> |
getAssociationRoles(TopicIF association_role_type,
TopicIF association_type)
PUBLIC: Gets all association roles that are of the given type and part of an association
of given type.
|
Collection<TopicIF> |
getAssociationRoleTypes()
PUBLIC: Gets the topics that are used as association role types.
|
Collection<AssociationIF> |
getAssociations(TopicIF association_type)
PUBLIC: Gets all associations that are of the given type.
|
Collection<TopicIF> |
getAssociationTypes()
PUBLIC: Gets the topics that are used as association types.
|
Collection<OccurrenceIF> |
getOccurrences(TopicIF occurrence_type)
PUBLIC: Gets all occurrences that are of the given type.
|
Collection<TopicIF> |
getOccurrenceTypes()
PUBLIC: Gets the topics that are used as occurrence types.
|
Collection<TopicNameIF> |
getTopicNames(TopicIF name_type)
PUBLIC: Gets all topic names that are of the given type.
|
Collection<TopicIF> |
getTopicNameTypes()
PUBLIC: Gets the topics that are used as topic name types.
|
Collection<TopicIF> |
getTopics(TopicIF topic_type)
PUBLIC: Gets all topics that are instances of the given type.
|
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.
|
executeQuery, getIndex, getTopicMap
public Collection<TopicIF> getTopics(TopicIF topic_type)
ClassInstanceIndexIF
getTopics
in interface ClassInstanceIndexIF
topic_type
- The given type; an object implementing TopicIF.public Collection<TopicNameIF> getTopicNames(TopicIF name_type)
ClassInstanceIndexIF
getTopicNames
in interface ClassInstanceIndexIF
name_type
- The given type; an object implementing TopicIF.public Collection<TopicNameIF> getAllTopicNames()
ClassInstanceIndexIF
getAllTopicNames
in interface ClassInstanceIndexIF
public Collection<VariantNameIF> getAllVariantNames()
ClassInstanceIndexIF
getAllVariantNames
in interface ClassInstanceIndexIF
public Collection<OccurrenceIF> getOccurrences(TopicIF occurrence_type)
ClassInstanceIndexIF
getOccurrences
in interface ClassInstanceIndexIF
occurrence_type
- The given type; an object implementing TopicIF.public Collection<OccurrenceIF> getAllOccurrences()
ClassInstanceIndexIF
getAllOccurrences
in interface ClassInstanceIndexIF
public Collection<AssociationIF> getAssociations(TopicIF association_type)
ClassInstanceIndexIF
getAssociations
in interface ClassInstanceIndexIF
association_type
- The given type; an object implementing TopicIF.public Collection<AssociationRoleIF> getAssociationRoles(TopicIF association_role_type)
ClassInstanceIndexIF
getAssociationRoles
in interface ClassInstanceIndexIF
association_role_type
- The given type; an object implementing TopicIF.public Collection<AssociationRoleIF> getAssociationRoles(TopicIF association_role_type, TopicIF association_type)
ClassInstanceIndexIF
getAssociationRoles
in interface ClassInstanceIndexIF
association_role_type
- The given role type; an object implementing TopicIF.association_type
- The given association type; an object implementing TopicIF.public Collection<TopicIF> getTopicTypes()
ClassInstanceIndexIF
getTopicTypes
in interface ClassInstanceIndexIF
public Collection<TopicIF> getTopicNameTypes()
ClassInstanceIndexIF
getTopicNameTypes
in interface ClassInstanceIndexIF
public Collection<TopicIF> getOccurrenceTypes()
ClassInstanceIndexIF
getOccurrenceTypes
in interface ClassInstanceIndexIF
public Collection<TopicIF> getAssociationTypes()
ClassInstanceIndexIF
getAssociationTypes
in interface ClassInstanceIndexIF
public 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.