|
||||||||||
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 Association
s, Occurrence
s,
Name
s, and Variant
s by their scope property and to
Topic
s which are used as theme in a scope.
Method Summary | |
---|---|
java.util.Collection<Association> |
getAssociations(Topic theme)
Returns the Association s in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Association> |
getAssociations(Topic[] themes,
boolean matchAll)
Returns the Association s 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 Association s. |
java.util.Collection<Name> |
getNames(Topic theme)
Returns the Name s in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Name> |
getNames(Topic[] themes,
boolean matchAll)
Returns the Name s 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 Name s. |
java.util.Collection<Occurrence> |
getOccurrences(Topic theme)
Returns the Occurrence s in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Occurrence> |
getOccurrences(Topic[] themes,
boolean matchAll)
Returns the Occurrence s 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 Occurrence s. |
java.util.Collection<Variant> |
getVariants(Topic theme)
Returns the Variant s in the topic map whose scope property
contains the specified theme. |
java.util.Collection<Variant> |
getVariants(Topic[] themes,
boolean matchAll)
Returns the Variant s 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 Variant s. |
Methods inherited from interface org.tmapi.index.Index |
---|
close, isAutoUpdated, isOpen, open, reindex |
Method Detail |
---|
java.util.Collection<Association> getAssociations(Topic theme)
Association
s 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 Association
s
in the unconstrained scope are returned.
Association
s.java.util.Collection<Association> getAssociations(Topic[] themes, boolean matchAll)
Association
s 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 Association
s 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.
Association
s.
java.lang.IllegalArgumentException
- If themes is null.java.util.Collection<Topic> getAssociationThemes()
Association
s.
The return value may be empty but must never be null.
Topic
s.java.util.Collection<Occurrence> getOccurrences(Topic theme)
Occurrence
s 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 Occurrence
s
in the unconstrained scope are returned.
Occurrence
s.java.util.Collection<Occurrence> getOccurrences(Topic[] themes, boolean matchAll)
Occurrence
s 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 Occurrence
s 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.
Occurrence
s.
java.lang.IllegalArgumentException
- If themes is null.java.util.Collection<Topic> getOccurrenceThemes()
Occurrence
s.
The return value may be empty but must never be null.
Topic
s.java.util.Collection<Name> getNames(Topic theme)
Name
s 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 Name
s
in the unconstrained scope are returned.
Name
s.java.util.Collection<Name> getNames(Topic[] themes, boolean matchAll)
Name
s 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 Name
s 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.
Name
s.
java.lang.IllegalArgumentException
- If themes is null.java.util.Collection<Topic> getNameThemes()
Name
s.
The return value may be empty but must never be null.
Topic
s.java.util.Collection<Variant> getVariants(Topic theme)
Variant
s 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.
Variant
s.
java.lang.IllegalArgumentException
- If theme is null.java.util.Collection<Variant> getVariants(Topic[] themes, boolean matchAll)
Variant
s 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 Variant
s 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.
Variant
s.
java.lang.IllegalArgumentException
- If themes is null.java.util.Collection<Topic> getVariantThemes()
Variant
s.
The return value may be empty but must never be null.
Topic
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |