|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tm4j.topicmap.unified.UnifiedTopicMapObject
org.tm4j.topicmap.unified.UnifiedScopedObject
| Field Summary |
| Fields inherited from class org.tm4j.topicmap.unified.UnifiedTopicMapObject |
m_tm |
| Constructor Summary | |
UnifiedScopedObject(UnifiedTopicMap tm,
ScopedObject base)
|
|
| Method Summary | |
void |
addTheme(Topic theme)
Adds a topic to the collection which define the scope of validity for this object. |
void |
dispose()
This method should be invoked when the object is no longer needed. |
java.util.Set |
getScope()
Gets the collection of topics which define the scope of validity for this object. |
boolean |
inScope(Topic theme)
Determines whether the specified theme is in the scope of this object. |
boolean |
inScope(Topic[] themes)
Determines whether one or more of the specified themes are in the scope of this object. |
void |
removeTheme(Topic theme)
Removes a topic from the collection which defines the scope of validity for this object. |
void |
setScope(Topic[] themes)
Sets the collection of topics which define the scope of validity for this object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnifiedScopedObject(UnifiedTopicMap tm,
ScopedObject base)
| Method Detail |
public void addTheme(Topic theme)
ScopedObject
addTheme in interface ScopedObjecttheme - the scoping topic to be addedpublic void dispose()
ScopedObject
dispose in interface ScopedObjectpublic java.util.Set getScope()
ScopedObject
getScope in interface ScopedObjectpublic boolean inScope(Topic theme)
ScopedObject
inScope in interface ScopedObjecttrue if the specified theme is in the scope
of this object, false otherwise.public boolean inScope(Topic[] themes)
ScopedObject
inScope in interface ScopedObjecttrue if the one or more of the specified
themes are in the scope of this object, false otherwise.public void removeTheme(Topic theme)
ScopedObjecttheme is not a part of the set of
scoping topics for this object.
removeTheme in interface ScopedObjecttheme - the topic to be removed.public void setScope(Topic[] themes)
ScopedObject
setScope in interface ScopedObjectthemes - the new set of scoping topics for this object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||