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, setValuegetScopegetReifier, setReifierclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprotected TopicMapImpl topicMap
public VariantImpl(TopicMapImpl topicMap, NameImpl parent, VariantNameIF variant)
protected void setValue(String value, LocatorIF datatype)
DatatypeAwareImplsetValue in class DatatypeAwareImplpublic VariantNameIF getWrapped()
public org.tmapi.core.Name getParent()
getParent in interface org.tmapi.core.ConstructgetParent in interface org.tmapi.core.Variantpublic org.tmapi.core.Locator getDatatype()
getDatatype in interface org.tmapi.core.DatatypeAwarepublic String getValue()
getValue in interface org.tmapi.core.DatatypeAwarepublic org.tmapi.core.Locator locatorValue()
locatorValue in interface org.tmapi.core.DatatypeAwarepublic void setValue(String value)
setValue in interface org.tmapi.core.DatatypeAwarepublic void setValue(org.tmapi.core.Locator value)
setValue in interface org.tmapi.core.DatatypeAwarepublic void removeTheme(org.tmapi.core.Topic theme)
removeTheme in interface org.tmapi.core.ScopedremoveTheme in class ScopedImplpublic void addTheme(org.tmapi.core.Topic theme)
addTheme in interface org.tmapi.core.ScopedaddTheme in class ScopedImplpublic void setExplicitScope(Collection<org.tmapi.core.Topic> explicitScope)
public Collection<org.tmapi.core.Topic> getExplicitScope()
public void remove()
remove in interface org.tmapi.core.Constructpublic String getId()
getId in interface org.tmapi.core.Constructpublic Set<org.tmapi.core.Locator> getItemIdentifiers()
getItemIdentifiers in interface org.tmapi.core.Constructpublic void addItemIdentifier(org.tmapi.core.Locator iid)
addItemIdentifier in interface org.tmapi.core.Constructpublic void removeItemIdentifier(org.tmapi.core.Locator iid)
removeItemIdentifier in interface org.tmapi.core.Constructpublic TopicMapImpl getTopicMap()
getTopicMap in interface org.tmapi.core.Constructpublic boolean equals(Object obj)