public abstract class DatatypeAwareImpl extends ScopedImpl implements org.tmapi.core.DatatypeAware
Modifier and Type | Field and Description |
---|---|
protected TopicMapImpl |
topicMap |
Constructor and Description |
---|
DatatypeAwareImpl(TopicMapImpl topicMap) |
Modifier and Type | Method and Description |
---|---|
void |
addItemIdentifier(org.tmapi.core.Locator iid) |
BigDecimal |
decimalValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
String |
getId() |
Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
TopicMapImpl |
getTopicMap() |
protected abstract TMObjectIF |
getWrapped() |
int |
hashCode() |
BigInteger |
integerValue() |
int |
intValue() |
long |
longValue() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator iid) |
void |
setValue(BigDecimal value) |
void |
setValue(BigInteger value) |
void |
setValue(float value) |
void |
setValue(int value) |
void |
setValue(long value) |
void |
setValue(String value,
org.tmapi.core.Locator datatype) |
protected abstract void |
setValue(String value,
LocatorIF datatype)
Sets the value / datatype pair.
|
addTheme, getScope, removeTheme
getReifier, setReifier
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
protected TopicMapImpl topicMap
public DatatypeAwareImpl(TopicMapImpl topicMap)
protected abstract void setValue(String value, LocatorIF datatype)
public BigDecimal decimalValue()
decimalValue
in interface org.tmapi.core.DatatypeAware
public float floatValue()
floatValue
in interface org.tmapi.core.DatatypeAware
public int intValue()
intValue
in interface org.tmapi.core.DatatypeAware
public BigInteger integerValue()
integerValue
in interface org.tmapi.core.DatatypeAware
public long longValue()
longValue
in interface org.tmapi.core.DatatypeAware
public void setValue(BigDecimal value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(BigInteger value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(long value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(float value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(int value)
setValue
in interface org.tmapi.core.DatatypeAware
public void setValue(String value, org.tmapi.core.Locator datatype)
setValue
in interface org.tmapi.core.DatatypeAware
protected abstract TMObjectIF getWrapped()
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)