|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopedIF
PUBLIC: Implemented by topic map objects that have scope. This interface is implemented by AssociationIF, TopicIF, TopicNameIF, VariantNameIF (through inheritance from TopicNameIF), OccurrenceIF and TopicMapIF.
The scope of an object is used to model its validity, effectivity or relevance in a specific context. A scope is a set of topics, and is present on all objects which may have it. Scoping in topic maps is only significant for topic characteristic assignments, and is inherited from parent objects.
Method Summary | |
---|---|
void |
addTheme(TopicIF theme)
PUBLIC: Add a topic to this scope. |
java.util.Collection<TopicIF> |
getScope()
PUBLIC: Returns the set of topics that are the stated scope of this object. |
void |
removeTheme(TopicIF theme)
PUBLIC: Remove a topic from this scope. |
Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF |
---|
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier |
Method Detail |
---|
java.util.Collection<TopicIF> getScope()
void addTheme(TopicIF theme)
theme
- A topic to be added to this scope; an object
implementing TopicIF.void removeTheme(TopicIF theme)
theme
- A topic to be removed from this scope; an object implementing TopicIF.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |