Class OccurrenceImpl

All Implemented Interfaces:
org.tmapi.core.Construct, org.tmapi.core.DatatypeAware, org.tmapi.core.Occurrence, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed

public class OccurrenceImpl extends DatatypeAwareImpl implements org.tmapi.core.Occurrence
INTERNAL: OKS->TMAPI 2 object wrapper.
  • Field Details

  • Constructor Details

  • Method Details

    • getWrapped

      public OccurrenceIF getWrapped()
    • getParent

      public org.tmapi.core.Topic getParent()
      Specified by:
      getParent in interface org.tmapi.core.Construct
      Specified by:
      getParent in interface org.tmapi.core.Occurrence
    • getType

      public org.tmapi.core.Topic getType()
      Specified by:
      getType in interface org.tmapi.core.Typed
    • setType

      public void setType(org.tmapi.core.Topic type)
      Specified by:
      setType in interface org.tmapi.core.Typed
    • getDatatype

      public org.tmapi.core.Locator getDatatype()
      Specified by:
      getDatatype in interface org.tmapi.core.DatatypeAware
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.tmapi.core.DatatypeAware
    • locatorValue

      public org.tmapi.core.Locator locatorValue()
      Specified by:
      locatorValue in interface org.tmapi.core.DatatypeAware
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface org.tmapi.core.DatatypeAware
    • setValue

      public void setValue(org.tmapi.core.Locator value)
      Specified by:
      setValue in interface org.tmapi.core.DatatypeAware
    • setValue

      protected void setValue(String value, LocatorIF datatype)
      Description copied from class: DatatypeAwareImpl
      Sets the value / datatype pair. Methods which invoke this method have to ensure that value and datatype is never null.
      Specified by:
      setValue in class DatatypeAwareImpl
    • 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