org.tm4j.tmapi.core
Class TMAPIBaseNameImpl

java.lang.Object
  extended byorg.tm4j.tmapi.core.TMAPITopicMapObjectImpl
      extended byorg.tm4j.tmapi.core.TMAPIScopedObjectImpl
          extended byorg.tm4j.tmapi.core.TMAPIBaseNameImpl
All Implemented Interfaces:
org.tmapi.core.ScopedObject, org.tmapi.core.TopicMapObject, org.tmapi.core.TopicName

public class TMAPIBaseNameImpl
extends TMAPIScopedObjectImpl
implements org.tmapi.core.TopicName


Constructor Summary
TMAPIBaseNameImpl(BaseName obj, TMAPITopicMapImpl tm)
           
 
Method Summary
protected  void addVariants(java.util.Collection variants, Variant var)
           
protected  java.util.Set buildVariants()
           
 org.tmapi.core.Variant createVariant(org.tmapi.core.Locator resourceRef, java.util.Collection params)
           
 org.tmapi.core.Variant createVariant(java.lang.String nameString, java.util.Collection params)
           
 org.tmapi.core.Topic getTopic()
           
 org.tmapi.core.Topic getType()
           
 java.lang.String getValue()
           
 java.util.Set getVariants()
           
 BaseName getWrapped()
           
 void remove()
           
 void setType(org.tmapi.core.Topic nameType)
           
 void setValue(java.lang.String data)
           
 
Methods inherited from class org.tm4j.tmapi.core.TMAPIScopedObjectImpl
addScopingTopic, getScope, removeScopingTopic
 
Methods inherited from class org.tm4j.tmapi.core.TMAPITopicMapObjectImpl
addSourceLocator, equals, getObjectId, getReifier, getSourceLocators, getTopicMap, hashCode, removeSourceLocator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tmapi.core.TopicName
addScopingTopic, getReifier, removeScopingTopic
 
Methods inherited from interface org.tmapi.core.ScopedObject
getScope
 
Methods inherited from interface org.tmapi.core.TopicMapObject
addSourceLocator, equals, getObjectId, getSourceLocators, getTopicMap, hashCode, removeSourceLocator
 

Constructor Detail

TMAPIBaseNameImpl

public TMAPIBaseNameImpl(BaseName obj,
                         TMAPITopicMapImpl tm)
Method Detail

getWrapped

public BaseName getWrapped()

getTopic

public org.tmapi.core.Topic getTopic()
Specified by:
getTopic in interface org.tmapi.core.TopicName

getValue

public java.lang.String getValue()
Specified by:
getValue in interface org.tmapi.core.TopicName

setValue

public void setValue(java.lang.String data)
Specified by:
setValue in interface org.tmapi.core.TopicName

getVariants

public java.util.Set getVariants()
Specified by:
getVariants in interface org.tmapi.core.TopicName

createVariant

public org.tmapi.core.Variant createVariant(java.lang.String nameString,
                                            java.util.Collection params)
Specified by:
createVariant in interface org.tmapi.core.TopicName

createVariant

public org.tmapi.core.Variant createVariant(org.tmapi.core.Locator resourceRef,
                                            java.util.Collection params)
Specified by:
createVariant in interface org.tmapi.core.TopicName

buildVariants

protected java.util.Set buildVariants()

addVariants

protected void addVariants(java.util.Collection variants,
                           Variant var)

getType

public org.tmapi.core.Topic getType()
Specified by:
getType in interface org.tmapi.core.TopicName

setType

public void setType(org.tmapi.core.Topic nameType)
Specified by:
setType in interface org.tmapi.core.TopicName

remove

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