public class NameImpl extends ScopedImpl implements org.tmapi.core.Name
Modifier and Type | Field and Description |
---|---|
protected TopicMapImpl |
topicMap |
Constructor and Description |
---|
NameImpl(TopicMapImpl topicMap,
TopicNameIF name) |
Modifier and Type | Method and Description |
---|---|
void |
addItemIdentifier(org.tmapi.core.Locator iid) |
protected void |
addVariant(org.tmapi.core.Variant variant) |
protected void |
clearVariants() |
org.tmapi.core.Variant |
createVariant(org.tmapi.core.Locator value,
Collection<org.tmapi.core.Topic> scope) |
org.tmapi.core.Variant |
createVariant(org.tmapi.core.Locator value,
org.tmapi.core.Topic... scope) |
org.tmapi.core.Variant |
createVariant(String value,
Collection<org.tmapi.core.Topic> scope) |
org.tmapi.core.Variant |
createVariant(String value,
org.tmapi.core.Locator datatype,
Collection<org.tmapi.core.Topic> scope) |
org.tmapi.core.Variant |
createVariant(String value,
org.tmapi.core.Locator datatype,
org.tmapi.core.Topic... scope) |
org.tmapi.core.Variant |
createVariant(String value,
org.tmapi.core.Topic... scope) |
boolean |
equals(Object obj) |
String |
getId() |
Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
org.tmapi.core.Topic |
getParent() |
TopicMapImpl |
getTopicMap() |
org.tmapi.core.Topic |
getType() |
String |
getValue() |
Set<org.tmapi.core.Variant> |
getVariants() |
TopicNameIF |
getWrapped() |
int |
hashCode() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator iid) |
void |
removeTheme(org.tmapi.core.Topic theme) |
protected void |
removeVariant(VariantImpl variantImpl) |
void |
setType(org.tmapi.core.Topic type) |
void |
setValue(String value) |
addTheme, getScope
getReifier, setReifier
protected TopicMapImpl topicMap
public NameImpl(TopicMapImpl topicMap, TopicNameIF name)
public TopicNameIF getWrapped()
public org.tmapi.core.Variant createVariant(String value, org.tmapi.core.Topic... scope)
createVariant
in interface org.tmapi.core.Name
public org.tmapi.core.Variant createVariant(String value, Collection<org.tmapi.core.Topic> scope)
createVariant
in interface org.tmapi.core.Name
protected void addVariant(org.tmapi.core.Variant variant)
protected void clearVariants()
public org.tmapi.core.Variant createVariant(org.tmapi.core.Locator value, org.tmapi.core.Topic... scope)
createVariant
in interface org.tmapi.core.Name
public org.tmapi.core.Variant createVariant(org.tmapi.core.Locator value, Collection<org.tmapi.core.Topic> scope)
createVariant
in interface org.tmapi.core.Name
public org.tmapi.core.Variant createVariant(String value, org.tmapi.core.Locator datatype, org.tmapi.core.Topic... scope)
createVariant
in interface org.tmapi.core.Name
public org.tmapi.core.Variant createVariant(String value, org.tmapi.core.Locator datatype, Collection<org.tmapi.core.Topic> scope)
createVariant
in interface org.tmapi.core.Name
public org.tmapi.core.Topic getParent()
getParent
in interface org.tmapi.core.Construct
getParent
in interface org.tmapi.core.Name
public String getValue()
getValue
in interface org.tmapi.core.Name
public Set<org.tmapi.core.Variant> getVariants()
getVariants
in interface org.tmapi.core.Name
public void setValue(String value)
setValue
in interface org.tmapi.core.Name
public org.tmapi.core.Topic getType()
getType
in interface org.tmapi.core.Typed
public void setType(org.tmapi.core.Topic type)
setType
in interface org.tmapi.core.Typed
public void removeTheme(org.tmapi.core.Topic theme)
removeTheme
in interface org.tmapi.core.Scoped
removeTheme
in class ScopedImpl
protected void removeVariant(VariantImpl variantImpl)
public String getId()
getId
in interface org.tmapi.core.Construct
public Set<org.tmapi.core.Locator> getItemIdentifiers()
getItemIdentifiers
in interface org.tmapi.core.Construct
public void addItemIdentifier(org.tmapi.core.Locator iid)
addItemIdentifier
in interface org.tmapi.core.Construct
public void removeItemIdentifier(org.tmapi.core.Locator iid)
removeItemIdentifier
in interface org.tmapi.core.Construct
public TopicMapImpl getTopicMap()
getTopicMap
in interface org.tmapi.core.Construct
public void remove()
remove
in interface org.tmapi.core.Construct
public boolean equals(Object obj)