| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An index of the Topics in the TopicMap. This index provides methods to retrieve all of the Topics in the TopicMap which are used to define the type of one or more Topics in the TopicMap. The index also provides methods to retrieve all Topics with one or more types and to retrieve Topics by their reified subject address or subject indicators.
| Method Summary | |
|  Topic | getTopicBySubjectIdentifier(Locator subjectIdentifier)Retrieve the Topic in the TopicMap that has the specified Locator as its subject indicator. | 
|  Topic | getTopicBySubjectLocator(Locator subjectLocator)Retrieve the Topic in the TopicMap that has the specified Locator as its subject Locator. | 
|  java.util.Collection | getTopicsByType(Topic type)Retrieve the Topics in the TopicMap that include the Topic typeas one of their types. | 
|  java.util.Collection | getTopicsByTypes(Topic[] types,
                 boolean matchAll)Retrieve the Topics in the TopicMap that include all of the specified topics amongst their types. | 
|  java.util.Collection | getTopicTypes()Retrieve the Topics that are used as topic types in the indexed TopicMap. | 
| Methods inherited from interface org.tmapi.index.Index | 
| close, getFlags, isOpen, open, reindex | 
| Methods inherited from interface org.tmapi.core.TopicMapSystem.ConfigurableHelperObject | 
| configure | 
| Method Detail | 
public java.util.Collection getTopicTypes()
null.
public java.util.Collection getTopicsByType(Topic type)
type as one of their types.
 The return value may be an empty Collection but must never be null.
type - the type of the Topics to be returned
             If type is null a collection containing all untyped 
             Topics will be returned
public java.util.Collection getTopicsByTypes(Topic[] types,
                                             boolean matchAll)
null.
types - the types of the Topics to be returned (MUST NOT be null)matchAll - if true, then only those Topic instances
                 where all of the Topics in types are present 
                 as type property will be returned (this includes the superset
                 of the given Topics in the types argument), 
                 otherwise all Topics where one ore more of the Topics specified in 
                 types are present as type property will be returned.
public Topic getTopicBySubjectLocator(Locator subjectLocator)
subjectLocator - the subject locator of the Topic to retrieve 
                       (MUST NOT be null).
null if no Topic has the specified
         subject locator.public Topic getTopicBySubjectIdentifier(Locator subjectIdentifier)
subjectIdentifier - the subject identifier of the Topic to retrieve 
                          (MUST NOT be null).
null if no Topic has the specified
                 subject identifier.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||