Class NameImpl

  • All Implemented Interfaces:
    org.tmapi.core.Construct, org.tmapi.core.Name, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed

    public class NameImpl
    extends ScopedImpl
    implements org.tmapi.core.Name
    INTERNAL: OKS->TMAPI 2 object wrapper.
    • Method Detail

      • createVariant

        public org.tmapi.core.Variant createVariant​(String value,
                                                    org.tmapi.core.Topic... scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • createVariant

        public org.tmapi.core.Variant createVariant​(String value,
                                                    Collection<org.tmapi.core.Topic> scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • addVariant

        protected void addVariant​(org.tmapi.core.Variant variant)
      • clearVariants

        protected void clearVariants()
      • createVariant

        public org.tmapi.core.Variant createVariant​(org.tmapi.core.Locator value,
                                                    org.tmapi.core.Topic... scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • createVariant

        public org.tmapi.core.Variant createVariant​(org.tmapi.core.Locator value,
                                                    Collection<org.tmapi.core.Topic> scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • createVariant

        public org.tmapi.core.Variant createVariant​(String value,
                                                    org.tmapi.core.Locator datatype,
                                                    org.tmapi.core.Topic... scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • createVariant

        public org.tmapi.core.Variant createVariant​(String value,
                                                    org.tmapi.core.Locator datatype,
                                                    Collection<org.tmapi.core.Topic> scope)
        Specified by:
        createVariant in interface org.tmapi.core.Name
      • getParent

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

        public String getValue()
        Specified by:
        getValue in interface org.tmapi.core.Name
      • getVariants

        public Set<org.tmapi.core.Variant> getVariants()
        Specified by:
        getVariants in interface org.tmapi.core.Name
      • setValue

        public void setValue​(String value)
        Specified by:
        setValue in interface org.tmapi.core.Name
      • 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
      • removeTheme

        public void removeTheme​(org.tmapi.core.Topic theme)
        Specified by:
        removeTheme in interface org.tmapi.core.Scoped
        Overrides:
        removeTheme in class ScopedImpl
      • removeVariant

        protected void removeVariant​(VariantImpl variantImpl)
      • 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