Class ReifiableImpl

java.lang.Object
net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
All Implemented Interfaces:
org.tmapi.core.Construct, org.tmapi.core.Reifiable
Direct Known Subclasses:
RoleImpl, ScopedImpl, TopicMapImpl

public abstract class ReifiableImpl extends Object implements org.tmapi.core.Reifiable
INTERNAL: OKS->TMAPI 2 object wrapper.
  • Field Details

  • Constructor Details

    • ReifiableImpl

      public ReifiableImpl(TopicMapImpl topicMap)
  • Method Details

    • getReifier

      public TopicImpl getReifier()
      Specified by:
      getReifier in interface org.tmapi.core.Reifiable
    • setReifier

      public void setReifier(org.tmapi.core.Topic reifier) throws org.tmapi.core.ModelConstraintException
      Specified by:
      setReifier in interface org.tmapi.core.Reifiable
      Throws:
      org.tmapi.core.ModelConstraintException
    • getWrapped

      protected abstract TMObjectIF getWrapped()
    • getId

      public String getId()
      Specified by:
      getId in interface org.tmapi.core.Construct
    • getItemIdentifiers

      public 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(Object obj)
      Specified by:
      equals in interface org.tmapi.core.Construct
      Overrides:
      equals in class Object
    • hashCode

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