public class VariantImpl extends DatatypeAwareImpl implements org.tmapi.core.Variant
Modifier and Type | Field and Description |
---|---|
protected TopicMapImpl |
topicMap |
Constructor and Description |
---|
VariantImpl(TopicMapImpl topicMap,
NameImpl parent,
VariantNameIF variant) |
Modifier and Type | Method and Description |
---|---|
void |
addItemIdentifier(org.tmapi.core.Locator iid) |
void |
addTheme(org.tmapi.core.Topic theme) |
boolean |
equals(Object obj) |
org.tmapi.core.Locator |
getDatatype() |
Collection<org.tmapi.core.Topic> |
getExplicitScope() |
String |
getId() |
Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
org.tmapi.core.Name |
getParent() |
TopicMapImpl |
getTopicMap() |
String |
getValue() |
VariantNameIF |
getWrapped() |
int |
hashCode() |
org.tmapi.core.Locator |
locatorValue() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator iid) |
void |
removeTheme(org.tmapi.core.Topic theme) |
void |
setExplicitScope(Collection<org.tmapi.core.Topic> explicitScope) |
void |
setValue(org.tmapi.core.Locator value) |
void |
setValue(String value) |
protected void |
setValue(String value,
LocatorIF datatype)
Sets the value / datatype pair.
|
decimalValue, floatValue, integerValue, intValue, longValue, setValue, setValue, setValue, setValue, setValue, setValue
getScope
getReifier, setReifier
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
protected TopicMapImpl topicMap
public VariantImpl(TopicMapImpl topicMap, NameImpl parent, VariantNameIF variant)
protected void setValue(String value, LocatorIF datatype)
DatatypeAwareImpl
setValue
in class DatatypeAwareImpl
public VariantNameIF getWrapped()
public org.tmapi.core.Name getParent()
getParent
in interface org.tmapi.core.Construct
getParent
in interface org.tmapi.core.Variant
public org.tmapi.core.Locator getDatatype()
getDatatype
in interface org.tmapi.core.DatatypeAware
public String getValue()
getValue
in interface org.tmapi.core.DatatypeAware
public org.tmapi.core.Locator locatorValue()
locatorValue
in interface org.tmapi.core.DatatypeAware
public void setValue(String value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(org.tmapi.core.Locator value)
setValue
in interface org.tmapi.core.DatatypeAware
public void removeTheme(org.tmapi.core.Topic theme)
removeTheme
in interface org.tmapi.core.Scoped
removeTheme
in class ScopedImpl
public void addTheme(org.tmapi.core.Topic theme)
addTheme
in interface org.tmapi.core.Scoped
addTheme
in class ScopedImpl
public void setExplicitScope(Collection<org.tmapi.core.Topic> explicitScope)
public Collection<org.tmapi.core.Topic> getExplicitScope()
public void remove()
remove
in interface org.tmapi.core.Construct
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 boolean equals(Object obj)