Class DatatypeAwareImpl
java.lang.Object
net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
net.ontopia.topicmaps.impl.tmapi2.DatatypeAwareImpl
- All Implemented Interfaces:
org.tmapi.core.Construct,org.tmapi.core.DatatypeAware,org.tmapi.core.Reifiable,org.tmapi.core.Scoped
- Direct Known Subclasses:
OccurrenceImpl,VariantImpl
INTERNAL: OKS->TMAPI 2 object wrapper.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemIdentifier(org.tmapi.core.Locator iid) booleanfloatgetId()Set<org.tmapi.core.Locator>protected abstract TMObjectIFinthashCode()intintValue()longvoidremove()voidremoveItemIdentifier(org.tmapi.core.Locator iid) voidsetValue(float value) voidsetValue(int value) voidsetValue(long value) protected abstract voidSets the value / datatype pair.voidvoidsetValue(BigDecimal value) voidsetValue(BigInteger value) Methods inherited from class net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
addTheme, getScope, removeThemeMethods 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, getParent, getTopicMap, hashCode, remove, removeItemIdentifierMethods inherited from interface org.tmapi.core.DatatypeAware
getDatatype, getValue, locatorValue, setValue, setValueMethods inherited from interface org.tmapi.core.Reifiable
getReifier, setReifierMethods inherited from interface org.tmapi.core.Scoped
addTheme, getScope, removeTheme
-
Field Details
-
topicMap
-
-
Constructor Details
-
DatatypeAwareImpl
-
-
Method Details
-
setValue
Sets the value / datatype pair. Methods which invoke this method have to ensure that value and datatype is never null. -
decimalValue
- Specified by:
decimalValuein interfaceorg.tmapi.core.DatatypeAware
-
floatValue
public float floatValue()- Specified by:
floatValuein interfaceorg.tmapi.core.DatatypeAware
-
intValue
public int intValue()- Specified by:
intValuein interfaceorg.tmapi.core.DatatypeAware
-
integerValue
- Specified by:
integerValuein interfaceorg.tmapi.core.DatatypeAware
-
longValue
public long longValue()- Specified by:
longValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
- Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
- Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
public void setValue(long value) - Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
public void setValue(float value) - Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
public void setValue(int value) - Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
setValue
- Specified by:
setValuein interfaceorg.tmapi.core.DatatypeAware
-
getWrapped
-
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
-
remove
public void remove()- Specified by:
removein interfaceorg.tmapi.core.Construct
-
equals
-
hashCode
public int hashCode()
-