|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scoped
Indicates that a statement (Topic Maps construct) has a scope.
Association
s, Occurrence
s, Name
s, and
Variant
s are scoped.
Method Summary | |
---|---|
void |
addTheme(Topic theme)
Adds a topic to the scope. |
java.util.Set<Topic> |
getScope()
Returns the topics which define the scope. |
void |
removeTheme(Topic theme)
Removes a topic from the scope. |
Methods inherited from interface org.tmapi.core.Construct |
---|
addItemIdentifier, equals, getId, getItemIdentifiers, getParent, getTopicMap, hashCode, remove, removeItemIdentifier |
Method Detail |
---|
java.util.Set<Topic> getScope()
Topic
s which define the scope.void addTheme(Topic theme) throws ModelConstraintException
theme
- The topic which should be added to the scope.
ModelConstraintException
- If the theme is null.void removeTheme(Topic theme)
theme
- The topic which should be removed from the scope.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |