Class VariantImpl
java.lang.Object
net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
net.ontopia.topicmaps.impl.tmapi2.DatatypeAwareImpl
net.ontopia.topicmaps.impl.tmapi2.VariantImpl
- All Implemented Interfaces:
org.tmapi.core.Construct,org.tmapi.core.DatatypeAware,org.tmapi.core.Reifiable,org.tmapi.core.Scoped,org.tmapi.core.Variant
INTERNAL: OKS->TMAPI 2 object wrapper.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemIdentifier(org.tmapi.core.Locator iid) voidaddTheme(org.tmapi.core.Topic theme) booleanorg.tmapi.core.LocatorCollection<org.tmapi.core.Topic>getId()Set<org.tmapi.core.Locator>org.tmapi.core.NamegetValue()inthashCode()org.tmapi.core.Locatorvoidremove()voidremoveItemIdentifier(org.tmapi.core.Locator iid) voidremoveTheme(org.tmapi.core.Topic theme) voidsetExplicitScope(Collection<org.tmapi.core.Topic> explicitScope) voidprotected voidSets the value / datatype pair.voidsetValue(org.tmapi.core.Locator value) Methods inherited from class net.ontopia.topicmaps.impl.tmapi2.DatatypeAwareImpl
decimalValue, floatValue, integerValue, intValue, longValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from class net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
getScopeMethods inherited from class net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
getReifier, setReifierMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tmapi.core.Construct
addItemIdentifier, equals, getId, getItemIdentifiers, getTopicMap, hashCode, removeItemIdentifierMethods inherited from interface org.tmapi.core.DatatypeAware
decimalValue, floatValue, integerValue, intValue, longValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from interface org.tmapi.core.Reifiable
getReifier, setReifierMethods inherited from interface org.tmapi.core.Variant
getScope
-
Field Details
-
topicMap
-
-
Constructor Details
-
VariantImpl
-
-
Method Details
-
setValue
Description copied from class:DatatypeAwareImplSets the value / datatype pair. Methods which invoke this method have to ensure that value and datatype is never null.- Specified by:
setValuein classDatatypeAwareImpl
-
getWrapped
-
getParent
public org.tmapi.core.Name getParent()- Specified by:
getParentin interfaceorg.tmapi.core.Construct- Specified by:
getParentin interfaceorg.tmapi.core.Variant
-
getDatatype
public org.tmapi.core.Locator getDatatype()- Specified by:
getDatatypein interfaceorg.tmapi.core.DatatypeAware
-
getValue
- Specified by:
getValuein interfaceorg.tmapi.core.DatatypeAware
-
locatorValue
public org.tmapi.core.Locator locatorValue()- Specified by:
locatorValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
- Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
public void setValue(org.tmapi.core.Locator value) - Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
removeTheme
public void removeTheme(org.tmapi.core.Topic theme) - Specified by:
removeThemein interfaceorg.tmapi.core.Scoped- Overrides:
removeThemein classScopedImpl
-
addTheme
public void addTheme(org.tmapi.core.Topic theme) - Specified by:
addThemein interfaceorg.tmapi.core.Scoped- Overrides:
addThemein classScopedImpl
-
setExplicitScope
-
getExplicitScope
-
remove
public void remove()- Specified by:
removein interfaceorg.tmapi.core.Construct
-
getId
- Specified by:
getIdin interfaceorg.tmapi.core.Construct
-
getItemIdentifiers
- Specified by:
getItemIdentifiersin interfaceorg.tmapi.core.Construct
-
addItemIdentifier
public void addItemIdentifier(org.tmapi.core.Locator iid) - Specified by:
addItemIdentifierin interfaceorg.tmapi.core.Construct
-
removeItemIdentifier
public void removeItemIdentifier(org.tmapi.core.Locator iid) - Specified by:
removeItemIdentifierin interfaceorg.tmapi.core.Construct
-
getTopicMap
- Specified by:
getTopicMapin interfaceorg.tmapi.core.Construct
-
equals
-
hashCode
public int hashCode()
-