net.ontopia.topicmaps.impl.tmapi2
Class ScopedImpl

java.lang.Object
  extended by net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
      extended by net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
All Implemented Interfaces:
org.tmapi.core.Construct, org.tmapi.core.Reifiable, org.tmapi.core.Scoped
Direct Known Subclasses:
AssociationImpl, DatatypeAwareImpl, NameImpl

public abstract class ScopedImpl
extends ReifiableImpl
implements org.tmapi.core.Scoped

INTERNAL: OKS->TMAPI 2 object wrapper.


Field Summary
protected  TopicMapImpl topicMap
           
 
Constructor Summary
ScopedImpl(TopicMapImpl topicMap)
           
 
Method Summary
 void addItemIdentifier(org.tmapi.core.Locator iid)
           
 void addTheme(org.tmapi.core.Topic theme)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getId()
           
 java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
           
 java.util.Set<org.tmapi.core.Topic> getScope()
           
 TopicMapImpl getTopicMap()
           
 int hashCode()
           
 void remove()
           
 void removeItemIdentifier(org.tmapi.core.Locator iid)
           
 void removeTheme(org.tmapi.core.Topic theme)
           
 
Methods inherited from class net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
getReifier, setReifier
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, getItemIdentifiers, getParent, getTopicMap, hashCode, remove, removeItemIdentifier
 

Field Detail

topicMap

protected TopicMapImpl topicMap
Constructor Detail

ScopedImpl

public ScopedImpl(TopicMapImpl topicMap)
Method Detail

getScope

public java.util.Set<org.tmapi.core.Topic> getScope()
Specified by:
getScope in interface org.tmapi.core.Scoped

addTheme

public void addTheme(org.tmapi.core.Topic theme)
Specified by:
addTheme in interface org.tmapi.core.Scoped

removeTheme

public void removeTheme(org.tmapi.core.Topic theme)
Specified by:
removeTheme in interface org.tmapi.core.Scoped

getId

public java.lang.String getId()
Specified by:
getId in interface org.tmapi.core.Construct

getItemIdentifiers

public java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
Specified by:
getItemIdentifiers in interface org.tmapi.core.Construct

addItemIdentifier

public void addItemIdentifier(org.tmapi.core.Locator iid)
Specified by:
addItemIdentifier in interface org.tmapi.core.Construct

removeItemIdentifier

public void removeItemIdentifier(org.tmapi.core.Locator iid)
Specified by:
removeItemIdentifier in interface org.tmapi.core.Construct

getTopicMap

public TopicMapImpl getTopicMap()
Specified by:
getTopicMap in interface org.tmapi.core.Construct

remove

public void remove()
Specified by:
remove in interface org.tmapi.core.Construct

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface org.tmapi.core.Construct
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface org.tmapi.core.Construct
Overrides:
hashCode in class java.lang.Object


Copyright © 2000-2012 Ontopia.