|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface provides mechanisms dealing with topic types, the topics defining the types of other topics.
| Method Summary | |
java.util.Collection |
getTopicsOfType(Topic type)
Returns the topics which are typed by type
or by a topic merged with type. |
java.util.Collection |
getTopicsOfType(Topic type,
boolean includeMergedTopics)
Returns the topics which are typed by type. |
java.util.Collection |
getTopicsOfTypes(Topic[] types)
Returns the topics which are typed by all of the topics in types. |
java.util.Collection |
getTopicsOfTypes(Topic[] types,
boolean includeMergedTopics)
Returns the topics which are typed by all of the topics in types. |
java.util.Collection |
getTopicTypes()
Returns the topics which type other topics. |
| Methods inherited from interface org.tm4j.topicmap.index.Index |
close, isOpen, open, reindex |
| Method Detail |
public java.util.Collection getTopicsOfType(Topic type)
type
or by a topic merged with type.
type - The topic which types all of the topics returned.
Topics for which
type is one of the types.
public java.util.Collection getTopicsOfType(Topic type,
boolean includeMergedTopics)
type.
If includeMergedTopics is true then
the returned collection includes those topics that are typed by a topic
merged with type.
type - the typing topic for the queryincludeMergedTopics - if true, the topics typed by a topic merged with
type will also be returned.
public java.util.Collection getTopicsOfTypes(Topic[] types)
types. A topic is considered to be
typed by a topic in types if its types property
contains that topic or a topic merged with it.
types - The topics which define the type all of the topics
returned.
Topics for which
all of the topics contained in types are
one of the types.
public java.util.Collection getTopicsOfTypes(Topic[] types,
boolean includeMergedTopics)
types.
If includeMergedTopics is true, then the returned collection
includes those topics which are typed by each of the topics in types
or a topic merged with them.
types - the types to be queriedincludeMergedTopics - if true, then topics merged with the topics in types
are allowed in the types of the returned topics.
public java.util.Collection getTopicTypes()
Topics which are the
type of at least one topic in the topic map indexed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||