|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides mechanisms dealing with member types, the topics defining the types of occurrences.
Method Summary | |
java.util.Collection |
getOccurrencesOfType(Topic type)
Returns the occurrences which are typed by type and
any topics merged with type . |
java.util.Collection |
getOccurrencesOfType(Topic type,
boolean includeMergedTopics)
Returns the occurrences which are typed by type . |
java.util.Collection |
getOccurrenceTypes()
Returns the topics which define the type of one or more occurrences in the topic map. |
Methods inherited from interface org.tm4j.topicmap.index.Index |
close, isOpen, open, reindex |
Method Detail |
public java.util.Collection getOccurrencesOfType(Topic type)
type
and
any topics merged with type
.
type
- The topic which types all of the occurremces returned.
Occurrence
s for which
type
or a topic merged with type
defines the occurrence type.public java.util.Collection getOccurrencesOfType(Topic type, boolean includeMergedTopics)
type
. If
includeMergedTopics
is true
then the
returned collection also includes all Occurrences which are typed by
topics merged with type
.
type
- the type to query forincludeMergedTopics
-
public java.util.Collection getOccurrenceTypes()
Topic
s which are the
type of at least one occurrence in the topic map indexed.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |