de.topicmapslab.majortom.database.readonly
Class JdbcReadOnlyName
java.lang.Object
de.topicmapslab.majortom.revision.core.ReadOnlyConstruct
de.topicmapslab.majortom.revision.core.ReadOnlyReifiable
de.topicmapslab.majortom.revision.core.ReadOnlyScopable
de.topicmapslab.majortom.revision.core.ReadOnlyName
de.topicmapslab.majortom.database.readonly.JdbcReadOnlyName
- All Implemented Interfaces:
- de.topicmapslab.majortom.model.core.ICharacteristics, de.topicmapslab.majortom.model.core.IConstruct, de.topicmapslab.majortom.model.core.IName, de.topicmapslab.majortom.model.core.IReifiable, de.topicmapslab.majortom.model.core.IScopable, de.topicmapslab.majortom.model.core.ITypeable, java.io.Serializable, java.lang.Comparable<de.topicmapslab.majortom.model.core.IConstruct>, org.tmapi.core.Construct, org.tmapi.core.Name, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed
public class JdbcReadOnlyName
- extends ReadOnlyName
- Author:
- Sven Krosse
- See Also:
- Serialized Form
| Methods inherited from class de.topicmapslab.majortom.revision.core.ReadOnlyConstruct |
addItemIdentifier, compareTo, equals, getId, getTopicMap, hashCode, isRemoved, longId, remove, remove, removeItemIdentifier, setRemoved |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.topicmapslab.majortom.model.core.IScopable |
getTopicMap |
| Methods inherited from interface org.tmapi.core.Scoped |
addTheme, getScope, removeTheme |
| Methods inherited from interface de.topicmapslab.majortom.model.core.IConstruct |
isRemoved, longId, remove |
| Methods inherited from interface org.tmapi.core.Construct |
addItemIdentifier, equals, getId, hashCode, remove, removeItemIdentifier |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface org.tmapi.core.Reifiable |
setReifier |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
parent
private final ReadOnlyTopic parent
provider
private final IConnectionProvider provider
JdbcReadOnlyName
public JdbcReadOnlyName(IConnectionProvider provider,
de.topicmapslab.majortom.model.core.IName clone)
- constructor
- Parameters:
provider - the connection providerclone - the non-read-only clone
getParent
public de.topicmapslab.majortom.model.core.ITopic getParent()
-
getValue
public java.lang.String getValue()
-
getVariants
public java.util.Set<org.tmapi.core.Variant> getVariants()
-
getType
public org.tmapi.core.Topic getType()
-
getItemIdentifiers
public java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
-
getReifier
public org.tmapi.core.Topic getReifier()
-
getScopeObject
public de.topicmapslab.majortom.model.core.IScope getScopeObject()
-
doReadHistoryValue
private <T> T doReadHistoryValue(de.topicmapslab.majortom.model.store.TopicMapStoreParameterType type)
- Internal method to read the history values
- Type Parameters:
T - the type of returned values- Parameters:
type - the argument specifies the value to fetch
- Returns:
- the value