|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScopedIndex

Index for Scoped statements and their scope.
This index provides access to Associations, Occurrences,
Names, and Variants by their scope property and to
Topics which are used as theme in a scope.
| Method Summary | |
|---|---|
java.util.Collection<Association> |
getAssociations(Topic theme)
Returns the Associations in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Association> |
getAssociations(Topic[] themes,
boolean matchAll)
Returns the Associations in the topic map whose scope property
equals one of those themes at least. |
java.util.Collection<Topic> |
getAssociationThemes()
Returns the topics in the topic map used in the scope property of Associations. |
java.util.Collection<Name> |
getNames(Topic theme)
Returns the Names in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Name> |
getNames(Topic[] themes,
boolean matchAll)
Returns the Names in the topic map whose scope property
equals one of those themes at least. |
java.util.Collection<Topic> |
getNameThemes()
Returns the topics in the topic map used in the scope property of Names. |
java.util.Collection<Occurrence> |
getOccurrences(Topic theme)
Returns the Occurrences in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Occurrence> |
getOccurrences(Topic[] themes,
boolean matchAll)
Returns the Occurrences in the topic map whose scope property
equals one of those themes at least. |
java.util.Collection<Topic> |
getOccurrenceThemes()
Returns the topics in the topic map used in the scope property of Occurrences. |
java.util.Collection<Variant> |
getVariants(Topic theme)
Returns the Variants in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Variant> |
getVariants(Topic[] themes,
boolean matchAll)
Returns the Variants in the topic map whose scope property
equals one of those themes at least. |
java.util.Collection<Topic> |
getVariantThemes()
Returns the topics in the topic map used in the scope property of Variants. |
| Methods inherited from interface org.tmapi.index.Index |
|---|
close, isAutoUpdated, isOpen, open, reindex |
| Method Detail |
|---|
java.util.Collection<Association> getAssociations(Topic theme)
Associations in the topic map whose scope property
contains the specified theme.
The return value may be empty but must never be null.
theme - The Topic which must be part of the scope. If
it is null all Associations
in the unconstrained scope are returned.
Associations.
java.util.Collection<Association> getAssociations(Topic[] themes,
boolean matchAll)
Associations in the topic map whose scope property
equals one of those themes at least.
The return value may be empty but must never be null.
themes - Scope of the Associations to be returned.matchAll - If true the scope property of an association
must match all themes, if false one
theme must be matched at least.
Associations.
java.lang.IllegalArgumentException - If themes is null.java.util.Collection<Topic> getAssociationThemes()
Associations.
The return value may be empty but must never be null.
Topics.java.util.Collection<Occurrence> getOccurrences(Topic theme)
Occurrences in the topic map whose scope property
contains the specified theme.
The return value may be empty but must never be null.
theme - The Topic which must be part of the scope. If
it is null all Occurrences
in the unconstrained scope are returned.
Occurrences.
java.util.Collection<Occurrence> getOccurrences(Topic[] themes,
boolean matchAll)
Occurrences in the topic map whose scope property
equals one of those themes at least.
The return value may be empty but must never be null.
themes - Scope of the Occurrences to be returned.matchAll - If true the scope property of an occurrence
must match all themes, if false one
theme must be matched at least.
Occurrences.
java.lang.IllegalArgumentException - If themes is null.java.util.Collection<Topic> getOccurrenceThemes()
Occurrences.
The return value may be empty but must never be null.
Topics.java.util.Collection<Name> getNames(Topic theme)
Names in the topic map whose scope property
contains the specified theme.
The return value may be empty but must never be null.
theme - The Topic which must be part of the scope. If
it is null all Names
in the unconstrained scope are returned.
Names.
java.util.Collection<Name> getNames(Topic[] themes,
boolean matchAll)
Names in the topic map whose scope property
equals one of those themes at least.
The return value may be empty but must never be null.
themes - Scope of the Names to be returned.matchAll - If true the scope property of a name
must match all themes, if false one
theme must be matched at least.
Names.
java.lang.IllegalArgumentException - If themes is null.java.util.Collection<Topic> getNameThemes()
Names.
The return value may be empty but must never be null.
Topics.java.util.Collection<Variant> getVariants(Topic theme)
Variants in the topic map whose scope property
contains the specified theme.
The return value may be empty but must never be null.
theme - The Topic which must be part of the scope. This
must not be null.
Variants.
java.lang.IllegalArgumentException - If theme is null.
java.util.Collection<Variant> getVariants(Topic[] themes,
boolean matchAll)
Variants in the topic map whose scope property
equals one of those themes at least.
The return value may be empty but must never be null.
themes - Scope of the Variants to be returned.matchAll - If true the scope property of a variant
must match all themes, if false one
theme must be matched at least.
Variants.
java.lang.IllegalArgumentException - If themes is null.java.util.Collection<Topic> getVariantThemes()
Variants.
The return value may be empty but must never be null.
Topics.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||