|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.topicmapslab.majortom.store.TopicMapStoreImpl
de.topicmapslab.majortom.store.ReadOnlyTopicMapStoreImpl
de.topicmapslab.majortom.store.ModifableTopicMapStoreImpl
de.topicmapslab.majortom.inmemory.store.InMemoryTopicMapStore
public class InMemoryTopicMapStore
Field Summary | |
---|---|
private AssociationStore |
associationStore
|
private int |
capacityOfCollections
|
private CharacteristicsStore |
characteristicsStore
|
private static java.lang.String |
ID_PREFIX
|
private InMemoryIdentity |
identity
the identity of the topic map itself |
private de.topicmapslab.majortom.model.index.IIdentityIndex |
identityIndex
|
private IdentityStore |
identityStore
|
protected static java.lang.String |
ITEMIDENTIFIER_PREFIX
|
private org.tmapi.index.LiteralIndex |
literalIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedConstructIndex |
pagedConstructIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedIdentityIndex |
pagedIdentityIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex |
pagedLiteralIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex |
pagedScopedIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedSupertypeSubtypeIndex |
pagedSupertypeSubtypeIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedTransitiveTypeInstanceIndex |
pagedTransitiveTypeInstanceIndex
|
private de.topicmapslab.majortom.model.index.paging.IPagedTypeInstanceIndex |
pagedTypeInstanceIndex
paged indexes |
private ReificationStore |
reificationStore
|
private de.topicmapslab.majortom.model.index.IRevisionIndex |
revisionIndex
|
private RevisionStore |
revisionStore
|
private org.tmapi.index.ScopedIndex |
scopedIndex
|
private ScopeStore |
scopeStore
|
private SignatureStore |
signatureStore
storage of construct signatures |
protected static java.lang.String |
SUBJECTIDENTIFIER_PREFIX
|
protected static java.lang.String |
SUBJECTLOCATOR_PREFIX
|
private de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex |
supertypeSubtypeIndex
|
private TopicTypeStore |
topicTypeStore
|
private de.topicmapslab.majortom.model.index.ITransitiveTypeInstanceIndex |
transitiveTypeInstanceIndex
|
private TypedStore |
typedStore
|
private org.tmapi.index.TypeInstanceIndex |
typeInstanceIndex
indexes |
Fields inherited from class de.topicmapslab.majortom.store.TopicMapStoreImpl |
---|
OUTPUT |
Constructor Summary | |
---|---|
InMemoryTopicMapStore()
constructor |
|
InMemoryTopicMapStore(de.topicmapslab.majortom.model.core.ITopicMapSystem topicMapSystem)
constructor |
Method Summary | ||
---|---|---|
protected void |
addTaskToThreadPool(java.lang.Runnable task)
Adding the given task to the internal thread pool of the topic map store. |
|
void |
clear()
|
|
void |
close()
|
|
void |
commit()
|
|
void |
connect()
|
|
(package private) de.topicmapslab.majortom.model.core.IAssociation |
createAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
Internal creation method for associations. |
|
protected de.topicmapslab.majortom.model.core.IAssociation |
createAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ITopic type,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to create an association |
|
protected AssociationStore |
createAssociationStore(InMemoryTopicMapStore store)
Creates the internal association store reference. |
|
protected CharacteristicsStore |
createCharacteristicsStore(InMemoryTopicMapStore store,
de.topicmapslab.majortom.model.core.ILocator xsdString)
Creates the internal characteristic store reference. |
|
private de.topicmapslab.majortom.model.core.ITopic |
createDefaultNameType(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.revision.IRevision revision)
Create the default name type if not exists. |
|
protected IdentityStore |
createIdentityStore(InMemoryTopicMapStore store)
Creates the internal identity store reference. |
|
protected de.topicmapslab.majortom.model.core.IName |
createName(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to create a new name item to a topic item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
createOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to create a new occurrence for the given topic item. |
|
protected ReificationStore |
createReificationStore(InMemoryTopicMapStore store)
Creates the internal reification store reference. |
|
protected de.topicmapslab.majortom.model.revision.IRevision |
createRevision(de.topicmapslab.majortom.model.event.TopicMapEventType type)
Creating a new revision object. |
|
protected RevisionStore |
createRevisionStore(InMemoryTopicMapStore store)
Creates the internal revision store reference. |
|
protected de.topicmapslab.majortom.model.core.IAssociationRole |
createRole(de.topicmapslab.majortom.model.core.IAssociation association,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ITopic player,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal creation method for roles. |
|
protected ScopeStore |
createScopeStore(InMemoryTopicMapStore store)
Creates the internal scope store reference. |
|
protected void |
createSupertypeSubtypeAssociation(de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ITopic supertype,
de.topicmapslab.majortom.model.revision.IRevision revision)
Create the specific association of the topic maps data model representing a supertype-subtype relation between the given topics. |
|
protected de.topicmapslab.majortom.model.core.ITopic |
createTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal creation method for a topic |
|
protected de.topicmapslab.majortom.model.core.ITopic |
createTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.revision.IRevision revision,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier,
de.topicmapslab.majortom.model.core.ILocator subjectLocator,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
Internal creation method for a topic |
|
protected TopicTypeStore |
createTopicTypeStore(InMemoryTopicMapStore store)
Creates the internal topic-type hierarchy store reference. |
|
de.topicmapslab.majortom.model.transaction.ITransaction |
createTransaction()
|
|
protected TypedStore |
createTypedStore(InMemoryTopicMapStore store)
Creates the internal types store reference. |
|
protected void |
createTypeInstanceAssociation(de.topicmapslab.majortom.model.core.ITopic instance,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
Create the specific association of the topic maps data model representing a type-instance relation between the given topics. |
|
protected de.topicmapslab.majortom.model.core.IVariant |
createVariant(de.topicmapslab.majortom.model.core.IName name,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to create a variant of the given name |
|
protected de.topicmapslab.majortom.model.core.IAssociation |
doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ITopic type)
Create a new association item. |
|
protected de.topicmapslab.majortom.model.core.IAssociation |
doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ITopic type,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new association item. |
|
protected de.topicmapslab.majortom.model.core.ILocator |
doCreateItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
Creates an internal item-identifier for a construct. |
|
de.topicmapslab.majortom.model.core.ILocator |
doCreateLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
java.lang.String reference)
Create a locator instance. |
|
protected de.topicmapslab.majortom.model.core.IName |
doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value)
Create a new name characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IName |
doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new name characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IName |
doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
java.lang.String value)
Create a new name characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IName |
doCreateName(de.topicmapslab.majortom.model.core.ITopic topic,
java.lang.String value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new name characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ILocator value)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ILocator value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IOccurrence |
doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic type,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new occurrence characteristics item. |
|
protected de.topicmapslab.majortom.model.core.IAssociationRole |
doCreateRole(de.topicmapslab.majortom.model.core.IAssociation association,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ITopic player)
Create a new association role item. |
|
de.topicmapslab.majortom.model.core.IScope |
doCreateScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create the internal scope object representing the collection of themes |
|
protected de.topicmapslab.majortom.model.core.ITopic |
doCreateTopicByItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
Create a new topic item. |
|
protected de.topicmapslab.majortom.model.core.ITopic |
doCreateTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
Create a new topic item. |
|
protected de.topicmapslab.majortom.model.core.ITopic |
doCreateTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
de.topicmapslab.majortom.model.core.ILocator subjectLocator)
Create a new topic item. |
|
protected de.topicmapslab.majortom.model.core.ITopic |
doCreateTopicWithoutIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
Create a new topic item without any identifier. |
|
protected de.topicmapslab.majortom.model.core.IVariant |
doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
de.topicmapslab.majortom.model.core.ILocator value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new variant for the given name. |
|
protected de.topicmapslab.majortom.model.core.IVariant |
doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
java.lang.String value,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new variant for the given name. |
|
protected de.topicmapslab.majortom.model.core.IVariant |
doCreateVariant(de.topicmapslab.majortom.model.core.IName name,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype,
java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes)
Create a new variant for the given name. |
|
protected void |
doMergeTopicMaps(org.tmapi.core.TopicMap context,
org.tmapi.core.TopicMap other)
Merge a topic map in the given topic map. |
|
protected void |
doMergeTopics(de.topicmapslab.majortom.model.core.ITopic context,
de.topicmapslab.majortom.model.core.ITopic other)
Merge a topic in the given topic |
|
protected void |
doModifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
Add a new item-identifier to the given construct |
|
protected void |
doModifyMetaData(de.topicmapslab.majortom.model.revision.IRevision revision,
java.lang.String key,
java.lang.String value)
Add a new meta data set to the given revision |
|
protected void |
doModifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role,
de.topicmapslab.majortom.model.core.ITopic player)
Modify the player of the given role. |
|
protected void |
doModifyReifier(de.topicmapslab.majortom.model.core.IReifiable r,
de.topicmapslab.majortom.model.core.ITopic reifier)
Modify the reifier of the given reified item. |
|
protected void |
doModifyScope(de.topicmapslab.majortom.model.core.IScopable s,
de.topicmapslab.majortom.model.core.ITopic theme)
Add a new theme to the given scoped item. |
|
protected void |
doModifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
Add a new subject-identifier to the given topic |
|
protected void |
doModifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectLocator)
Add a new subject-locator to the given topic |
|
protected void |
doModifySupertype(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Add a new super type to the given topic |
|
protected void |
doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm,
java.lang.String tag)
Add a new tag to the given topic map for the current time stamp |
|
protected void |
doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm,
java.lang.String tag,
java.util.Calendar timestamp)
Add a new tag to the given topic map for the given time stamp |
|
protected void |
doModifyTopicType(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Add a new type to the given topic. |
|
protected void |
doModifyType(de.topicmapslab.majortom.model.core.ITypeable t,
de.topicmapslab.majortom.model.core.ITopic type)
Modify the type of the given typed item. |
|
protected void |
doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c,
java.lang.Object value)
Modify the value and the data type of the given data-type-aware. |
|
protected void |
doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c,
java.lang.String value)
Modify the value of the given data-type-aware. |
|
protected void |
doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c,
java.lang.String value,
de.topicmapslab.majortom.model.core.ILocator datatype)
Modify the value and the data type of the given data-type-aware. |
|
protected void |
doModifyValue(de.topicmapslab.majortom.model.core.IName n,
java.lang.String value)
Modify the value of the given name. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t)
Read the association played by the given topic |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped associations played by the given topic |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Read the associations played by the given topic and being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped associations played by the given topic and being typed by the given type |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm)
Read all associations of the topic map. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped associations of the topic map. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
de.topicmapslab.majortom.model.core.ITopic type)
Read all associations of the topic map being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> |
doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped associations of the topic map being typed by the given type. |
|
java.lang.String |
doReadBestIdentifier(de.topicmapslab.majortom.model.core.ITopic topic,
boolean withPrefix)
Returns the best and stable identifier of the topic. |
|
java.lang.String |
doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic)
Returns the best label for the current topic instance. |
|
java.lang.String |
doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic theme,
boolean strict)
Returns the best label for the current topic instance. |
|
de.topicmapslab.majortom.model.revision.Changeset |
doReadChangeSet(de.topicmapslab.majortom.model.revision.IRevision r)
Read the change set of a revision. |
|
de.topicmapslab.majortom.model.event.TopicMapEventType |
doReadChangeSetType(de.topicmapslab.majortom.model.revision.IRevision revision)
Read the type of the given typed item. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> |
doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t)
Read all characteristics if the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> |
doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped characteristics if the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> |
doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Read all characteristics if the given topic being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> |
doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped characteristics if the given topic being typed by the given type. |
|
de.topicmapslab.majortom.model.core.IConstruct |
doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
Read the construct identified by the given item-identifier. |
|
de.topicmapslab.majortom.model.core.IConstruct |
doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t,
java.lang.String id)
Read the construct identified by the given id. |
|
de.topicmapslab.majortom.model.core.ILocator |
doReadDataType(de.topicmapslab.majortom.model.core.IDatatypeAware c)
Read the data type of the given data-type-aware |
|
de.topicmapslab.majortom.model.revision.IRevision |
doReadFutureRevision(de.topicmapslab.majortom.model.revision.IRevision r)
Read the previous revision of the revision. |
|
java.lang.String |
doReadId(de.topicmapslab.majortom.model.core.IConstruct c)
Read the id of the given construct |
|
java.util.Set<de.topicmapslab.majortom.model.core.ILocator> |
doReadItemIdentifiers(de.topicmapslab.majortom.model.core.IConstruct c)
Read all item-identifiers of the given construct |
|
de.topicmapslab.majortom.model.core.ILocator |
doReadLocator(de.topicmapslab.majortom.model.core.ITopicMap t)
Read the base locator of the given topic map. |
|
java.util.Map<java.lang.String,java.lang.String> |
doReadMetaData(de.topicmapslab.majortom.model.revision.IRevision revision)
Read the whole meta data sets of the given revision |
|
java.lang.String |
doReadMetaData(de.topicmapslab.majortom.model.revision.IRevision revision,
java.lang.String key)
Read the value of the meta set of the given revision identified by the given key. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IName> |
doReadNames(de.topicmapslab.majortom.model.core.ITopic t)
Read all names if the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IName> |
doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped names of the given topic where the scope matches exactly. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IName> |
doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Read all names if the given topic being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IName> |
doReadNames(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped names if the given topic being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> |
doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t)
Read all occurrences if the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> |
doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped occurrence if the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> |
doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Read all occurrence if the given topic being typed by the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> |
doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.IScope scope)
Read all scoped occurrence if the given topic being typed by the given type. |
|
de.topicmapslab.majortom.model.revision.IRevision |
doReadPastRevision(de.topicmapslab.majortom.model.revision.IRevision r)
Read the past revision of the revision. |
|
de.topicmapslab.majortom.model.core.ITopic |
doReadPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role)
Read the player of the given role |
|
de.topicmapslab.majortom.model.core.ITopic |
doReadReification(de.topicmapslab.majortom.model.core.IReifiable r)
Read the reifier of the reified construct |
|
de.topicmapslab.majortom.model.core.IReifiable |
doReadReification(de.topicmapslab.majortom.model.core.ITopic t)
Read the reified item of the given topic. |
|
java.util.Calendar |
doReadRevisionTimestamp(de.topicmapslab.majortom.model.revision.IRevision r)
Read the time-stamp of the revision begin. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> |
doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association)
Read all association role items of the given association |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> |
doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association,
de.topicmapslab.majortom.model.core.ITopic type)
Read all association role items of the given association and the given type. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> |
doReadRoles(de.topicmapslab.majortom.model.core.ITopic player)
Read the played roles of the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> |
doReadRoles(de.topicmapslab.majortom.model.core.ITopic player,
de.topicmapslab.majortom.model.core.ITopic type)
Read the played roles of the given topic and being typed by the given type |
|
java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> |
doReadRoles(de.topicmapslab.majortom.model.core.ITopic player,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ITopic assocType)
Read the played roles of the given topic and being typed by the given type |
|
java.util.Set<de.topicmapslab.majortom.model.core.ITopic> |
doReadRoleTypes(de.topicmapslab.majortom.model.core.IAssociation association)
Read all role types of the given association |
|
de.topicmapslab.majortom.model.core.IScope |
doReadScope(de.topicmapslab.majortom.model.core.IScopable s)
Read the scope of the given scoped item |
|
java.util.Set<de.topicmapslab.majortom.model.core.ILocator> |
doReadSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopic t)
Read all subject-identifiers of the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ILocator> |
doReadSubjectLocators(de.topicmapslab.majortom.model.core.ITopic t)
Read all subject-locators of the given topic. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ITopic> |
doReadSuptertypes(de.topicmapslab.majortom.model.core.ITopic t)
Read all super types of the given topic. |
|
de.topicmapslab.majortom.model.core.ITopic |
doReadTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap t,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
Read the topic identified by the given subject-identifier. |
|
de.topicmapslab.majortom.model.core.ITopic |
doReadTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap t,
de.topicmapslab.majortom.model.core.ILocator subjectLocator)
Read the topic identified by the given subject-locator. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ITopic> |
doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t)
Return all topics of the topic map. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ITopic> |
doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t,
de.topicmapslab.majortom.model.core.ITopic type)
Return all topics of the topic map being typed by the given type. |
|
de.topicmapslab.majortom.model.core.ITopic |
doReadType(de.topicmapslab.majortom.model.core.ITypeable typed)
Read the type of the given typed item. |
|
java.util.Set<de.topicmapslab.majortom.model.core.ITopic> |
doReadTypes(de.topicmapslab.majortom.model.core.ITopic t)
Read all types of the given type. |
|
java.lang.Object |
doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware c)
Read the value of the data-type-aware. |
|
|
doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware c,
java.lang.Class<T> type)
Read the value of the data-type-aware and cast them to the given type |
|
java.lang.Object |
doReadValue(de.topicmapslab.majortom.model.core.IName n)
Read the value of the topic name. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IVariant> |
doReadVariants(de.topicmapslab.majortom.model.core.IName n)
Read the variants of the given name. |
|
java.util.Set<de.topicmapslab.majortom.model.core.IVariant> |
doReadVariants(de.topicmapslab.majortom.model.core.IName n,
de.topicmapslab.majortom.model.core.IScope scope)
Read the variants of the given name in the given scope. |
|
protected void |
doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association,
boolean cascade)
Remove the association. |
|
protected void |
doRemoveItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier)
Remove the given item identifier from the given construct. |
|
protected void |
doRemoveName(de.topicmapslab.majortom.model.core.IName name,
boolean cascade)
Remove the name. |
|
protected void |
doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence,
boolean cascade)
Remove the occurrence. |
|
protected void |
doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role,
boolean cascade)
Remove the association role. |
|
protected void |
doRemoveScope(de.topicmapslab.majortom.model.core.IScopable s,
de.topicmapslab.majortom.model.core.ITopic theme)
Remove the theme from the given scoped item. |
|
protected void |
doRemoveSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier)
Remove the subject-identifier from the given topic. |
|
protected void |
doRemoveSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectLocator)
Remove the subject-locator from the given topic. |
|
protected void |
doRemoveSupertype(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Remove the type from the given topic. |
|
protected void |
doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic,
boolean cascade)
Remove the topic. |
|
protected void |
doRemoveTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap,
boolean cascade)
Remove the topic map. |
|
protected void |
doRemoveType(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type)
Remove the super type from the given topic. |
|
protected void |
doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant,
boolean cascade)
Remove the variant. |
|
void |
enableCaching(boolean enable)
Enable the caching mechanism of the database topic map store. |
|
boolean |
existsTmdmDefaultNameType()
Check if the topic type representing the default name type of the topic map data model exists. |
|
boolean |
existsTmdmInstanceRoleType()
Check if the topic type representing the instance association role type of the topic map data model exists. |
|
boolean |
existsTmdmSubtypeRoleType()
Check if the topic type representing the subtype association role type of the topic map data model exists. |
|
boolean |
existsTmdmSupertypeRoleType()
Check if the topic type representing the supertype association role type of the topic map data model exists. |
|
boolean |
existsTmdmSupertypeSubtypeAssociationType()
Check if the topic type representing the supertype-subtype association type of the topic map data model exists. |
|
boolean |
existsTmdmTypeInstanceAssociationType()
Check if the topic type representing the type-instance association type of the topic map data model exists. |
|
boolean |
existsTmdmTypeRoleType()
Check if the topic type representing the type association role type of the topic map data model exists. |
|
private java.util.Set<de.topicmapslab.majortom.model.core.IName> |
filterByDefaultNameType(de.topicmapslab.majortom.model.core.ITopic topic,
java.util.Set<de.topicmapslab.majortom.model.core.IName> names)
Method filter the given names by the default name type |
|
AssociationStore |
getAssociationStore()
Returns the internal association store reference. |
|
int |
getCapacityOfCollections()
Returns the internal set property value of the initial collection size |
|
CharacteristicsStore |
getCharacteristicsStore()
Returns the internal characteristic store reference. |
|
IdentityStore |
getIdentityStore()
Returns the internal identity store reference. |
|
|
getIndex(java.lang.Class<I> clazz)
|
|
ReificationStore |
getReificationStore()
Returns the internal reification store reference. |
|
RevisionStore |
getRevisionStore()
Returns the internal revision store |
|
ScopeStore |
getScopeStore()
Returns the internal scope store reference. |
|
(package private) SignatureStore |
getSignatureStore()
Returns the signature store |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmDefaultNameType()
Returns the topic type representing the default name type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmInstanceRoleType()
Returns the topic type representing the instance association role type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmSubtypeRoleType()
Returns the topic type representing the subtype association role type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmSupertypeRoleType()
Returns the topic type representing the supertype association role type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmSupertypeSubtypeAssociationType()
Returns the topic type representing the supertype-subtype association type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmTypeInstanceAssociationType()
Returns the topic type representing the type-instance association type of the topic map data model. |
|
de.topicmapslab.majortom.model.core.ITopic |
getTmdmTypeRoleType()
Returns the topic type representing the type association role type of the topic map data model. |
|
InMemoryIdentity |
getTopicMapIdentity()
|
|
TopicTypeStore |
getTopicTypeStore()
Returns the internal topic-type hierarchy store reference. |
|
TypedStore |
getTypedStore()
Returns the internal types store reference. |
|
boolean |
isCachingEnabled()
Method returns the internal state of caching. |
|
protected boolean |
isTopicInUse(de.topicmapslab.majortom.model.core.ITopic topic)
Method checks if the topic is used by any topic map relation. |
|
boolean |
isTransactable()
|
|
protected void |
mergeTopics(de.topicmapslab.majortom.model.core.ITopic context,
de.topicmapslab.majortom.model.core.ITopic other,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to merge two topics |
|
protected void |
modifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to add a item-identifier |
|
(package private) void |
modifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role,
de.topicmapslab.majortom.model.core.ITopic player,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to modify the player of an association role |
|
protected void |
modifyReifier(de.topicmapslab.majortom.model.core.IReifiable r,
de.topicmapslab.majortom.model.core.ITopic reifier,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to change the reification of the given construct. |
|
protected void |
modifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to add a new subject-identifier |
|
protected void |
modifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectLocator,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to add a new subject-locator. |
|
protected void |
modifySupertype(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to add a new super type to a topic type |
|
protected void |
modifyTopicType(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to add a new type to a topic item. |
|
(package private) void |
modifyType(de.topicmapslab.majortom.model.core.ITypeable t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to modify type |
|
(package private) void |
modifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c,
java.lang.Object value,
de.topicmapslab.majortom.model.core.ILocator datatype,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to modify the value and the data type of a IDatatypeAware . |
|
(package private) void |
modifyValue(de.topicmapslab.majortom.model.core.IName n,
java.lang.String value,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal modification method to modify the value of a name |
|
private java.lang.String |
readBestName(de.topicmapslab.majortom.model.core.ITopic topic,
de.topicmapslab.majortom.model.core.ITopic theme,
java.util.Set<de.topicmapslab.majortom.model.core.IName> names,
boolean strict)
Internal best label method only check name attributes. |
|
private java.lang.String |
readBestName(de.topicmapslab.majortom.model.core.ITopic topic,
java.util.Set<de.topicmapslab.majortom.model.core.IName> names)
Internal best label method only check name attributes. |
|
protected void |
removeAssociation(de.topicmapslab.majortom.model.core.IAssociation association,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove an association |
|
(package private) void |
removeConstruct(de.topicmapslab.majortom.model.core.IConstruct construct,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove a construct |
|
void |
removeDuplicates()
|
|
protected void |
removeItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c,
de.topicmapslab.majortom.model.core.ILocator itemIdentifier,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove an item identifier |
|
protected void |
removeName(de.topicmapslab.majortom.model.core.IName name,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove a topic name |
|
protected void |
removeOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove a occurrence |
|
(package private) void |
removeRole(de.topicmapslab.majortom.model.core.IAssociationRole role,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove an association role |
|
protected void |
removeSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectIdentifier,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove an subject identifier |
|
protected void |
removeSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ILocator subjectLocator,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove an subject locator |
|
protected void |
removeSupertype(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
|
|
protected void |
removeSupertypeSubtypeAssociation(de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.core.ITopic supertype,
de.topicmapslab.majortom.model.revision.IRevision revision)
Removes the corresponding association of the supertype-subtype relation between the given topics. |
|
protected void |
removeTopic(de.topicmapslab.majortom.model.core.ITopic topic,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to return a topic. |
|
private void |
removeTopic(de.topicmapslab.majortom.model.core.ITopic topic,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision,
java.util.Set<java.lang.String> topicIds)
Internal method to return a topic. |
|
protected void |
removeTopicType(de.topicmapslab.majortom.model.core.ITopic t,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
|
|
protected void |
removeTypeInstanceAssociation(de.topicmapslab.majortom.model.core.ITopic instance,
de.topicmapslab.majortom.model.core.ITopic type,
de.topicmapslab.majortom.model.revision.IRevision revision)
Removes the corresponding association of the type-instance relation between the given topics. |
|
protected void |
removeVariant(de.topicmapslab.majortom.model.core.IVariant variant,
boolean cascade,
de.topicmapslab.majortom.model.revision.IRevision revision)
Internal method to remove a variant |
|
void |
setTopicMapSystem(de.topicmapslab.majortom.model.core.ITopicMapSystem topicMapSystem)
|
|
void |
storeRevision(de.topicmapslab.majortom.model.revision.IRevision revision,
de.topicmapslab.majortom.model.event.TopicMapEventType type,
de.topicmapslab.majortom.model.core.IConstruct context,
java.lang.Object newValue,
java.lang.Object oldValue)
Store a change set for the given revision. |
Methods inherited from class de.topicmapslab.majortom.store.ModifableTopicMapStoreImpl |
---|
checkMergeConditionOfItemIdentifier, checkMergeConditionOfSubjectIdentifier, checkMergeConditionOfSubjectLocator, checkMergeConstraint, checkReificationConstraintBeforeModification, doCreate, doMerge, doModify, doRemove, doRemove, isTopicUsedAsPlayer, isTopicUsedAsReifier, isTopicUsedAsSupertype, isTopicUsedAsTheme, isTopicUsedAsType, storeRevision |
Methods inherited from class de.topicmapslab.majortom.store.ReadOnlyTopicMapStoreImpl |
---|
clearCache, doRead, getCache, internalDoRead |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String SUBJECTIDENTIFIER_PREFIX
protected static final java.lang.String SUBJECTLOCATOR_PREFIX
protected static final java.lang.String ITEMIDENTIFIER_PREFIX
private static final java.lang.String ID_PREFIX
private int capacityOfCollections
private IdentityStore identityStore
private CharacteristicsStore characteristicsStore
private TypedStore typedStore
private ScopeStore scopeStore
private TopicTypeStore topicTypeStore
private ReificationStore reificationStore
private AssociationStore associationStore
private RevisionStore revisionStore
private SignatureStore signatureStore
private InMemoryIdentity identity
private org.tmapi.index.TypeInstanceIndex typeInstanceIndex
private de.topicmapslab.majortom.model.index.ITransitiveTypeInstanceIndex transitiveTypeInstanceIndex
private org.tmapi.index.ScopedIndex scopedIndex
private org.tmapi.index.LiteralIndex literalIndex
private de.topicmapslab.majortom.model.index.IIdentityIndex identityIndex
private de.topicmapslab.majortom.model.index.ISupertypeSubtypeIndex supertypeSubtypeIndex
private de.topicmapslab.majortom.model.index.IRevisionIndex revisionIndex
private de.topicmapslab.majortom.model.index.paging.IPagedTypeInstanceIndex pagedTypeInstanceIndex
private de.topicmapslab.majortom.model.index.paging.IPagedTransitiveTypeInstanceIndex pagedTransitiveTypeInstanceIndex
private de.topicmapslab.majortom.model.index.paging.IPagedSupertypeSubtypeIndex pagedSupertypeSubtypeIndex
private de.topicmapslab.majortom.model.index.paging.IPagedScopedIndex pagedScopedIndex
private de.topicmapslab.majortom.model.index.paging.IPagedIdentityIndex pagedIdentityIndex
private de.topicmapslab.majortom.model.index.paging.IPagedLiteralIndex pagedLiteralIndex
private de.topicmapslab.majortom.model.index.paging.IPagedConstructIndex pagedConstructIndex
Constructor Detail |
---|
public InMemoryTopicMapStore()
public InMemoryTopicMapStore(de.topicmapslab.majortom.model.core.ITopicMapSystem topicMapSystem)
topicMapSystem
- the topic map systemMethod Detail |
---|
protected de.topicmapslab.majortom.model.core.ILocator doCreateItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap)
doCreateItemIdentifier
in class ModifableTopicMapStoreImpl
topicMap
- the topic map
de.topicmapslab.majortom.model.core.IAssociation createAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topicMap
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateAssociation
in class ModifableTopicMapStoreImpl
topicMap
- the topic maptype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IAssociation createAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topicMap
- the topic maptype
- the typethemes
- the themesrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IAssociation doCreateAssociation(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ITopic type, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateAssociation
in class ModifableTopicMapStoreImpl
topicMap
- the topic maptype
- the typethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ILocator doCreateLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.lang.String reference) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateLocator
in class ReadOnlyTopicMapStoreImpl
topicMap
- the topic mapreference
- the string reference
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateName
in class ModifableTopicMapStoreImpl
topic
- the parent topicvalue
- the characteristics value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateName
in class ModifableTopicMapStoreImpl
topic
- the parent topicvalue
- the characteristics valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateName
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IName createName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topictype
- the name typevalue
- the valuethemes
- the themesrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IName doCreateName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateName
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ILocator value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ILocator value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics valuedatatype
- the data type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence doCreateOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateOccurrence
in class ModifableTopicMapStoreImpl
topic
- the parent topictype
- the typevalue
- the characteristics valuedatatype
- the data typethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IOccurrence createOccurrence(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic type, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topic itemtype
- the typevalue
- the valuedatatype
- the datatypethemes
- the themesrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IAssociationRole createRole(de.topicmapslab.majortom.model.core.IAssociation association, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
association
- the associationtype
- the typeplayer
- the playerrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IAssociationRole doCreateRole(de.topicmapslab.majortom.model.core.IAssociation association, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic player) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateRole
in class ModifableTopicMapStoreImpl
association
- the parent associationtype
- the typeplayer
- the role player
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.IScope doCreateScope(de.topicmapslab.majortom.model.core.ITopicMap topicMap, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateScope
in class ReadOnlyTopicMapStoreImpl
topicMap
- the topic mapthemes
- the themes collection
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.ITopic createTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topicMap
- the topic maprevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected de.topicmapslab.majortom.model.core.ITopic createTopic(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier, de.topicmapslab.majortom.model.core.ILocator subjectLocator, de.topicmapslab.majortom.model.core.ILocator itemIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topicMap
- the topic maprevision
- the revisionsubjectIdentifier
- the subject-identifier or null
subjectLocator
- the subject-locator or null
itemIdentifier
- the item-identifier or null
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected de.topicmapslab.majortom.model.core.ITopic doCreateTopicWithoutIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateTopicWithoutIdentifier
in class ModifableTopicMapStoreImpl
topicMap
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.ITopic doCreateTopicByItemIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator itemIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateTopicByItemIdentifier
in class ModifableTopicMapStoreImpl
topicMap
- the topic mapitemIdentifier
- the item-identifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateTopicBySubjectIdentifier
in class ModifableTopicMapStoreImpl
topicMap
- the topic mapsubjectIdentifier
- the subject-identifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.ITopic doCreateTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.core.ILocator subjectLocator) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateTopicBySubjectLocator
in class ModifableTopicMapStoreImpl
topicMap
- the topic mapsubjectLocator
- the subject-locator
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, java.lang.String value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateVariant
in class ModifableTopicMapStoreImpl
name
- the parent namevalue
- the valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, de.topicmapslab.majortom.model.core.ILocator value, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateVariant
in class ModifableTopicMapStoreImpl
name
- the parent namevalue
- the valuethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IVariant doCreateVariant(de.topicmapslab.majortom.model.core.IName name, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doCreateVariant
in class ModifableTopicMapStoreImpl
name
- the parent namevalue
- the valuedatatype
- the data typethemes
- the scoping themes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected de.topicmapslab.majortom.model.core.IVariant createVariant(de.topicmapslab.majortom.model.core.IName name, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype, java.util.Collection<de.topicmapslab.majortom.model.core.ITopic> themes, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
name
- the namevalue
- the valuedatatype
- the datatypethemes
- the themesrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doMergeTopicMaps(org.tmapi.core.TopicMap context, org.tmapi.core.TopicMap other) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doMergeTopicMaps
in class ModifableTopicMapStoreImpl
context
- the topic mapother
- the topic map to merge in
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void mergeTopics(de.topicmapslab.majortom.model.core.ITopic context, de.topicmapslab.majortom.model.core.ITopic other, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
context
- the contextother
- the topic to merge in the other onerevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doMergeTopics(de.topicmapslab.majortom.model.core.ITopic context, de.topicmapslab.majortom.model.core.ITopic other) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doMergeTopics
in class ModifableTopicMapStoreImpl
context
- the topic to merge inother
- the topic to merge in
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
c
- the constructitemIdentifier
- the item identifierrevision
- the revision to store dependent changes
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyItemIdentifier
in class ModifableTopicMapStoreImpl
c
- the constructitemIdentifier
- the item identifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsvoid modifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role, de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
role
- the roleplayer
- the playerrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role, de.topicmapslab.majortom.model.core.ITopic player) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyPlayer
in class ModifableTopicMapStoreImpl
role
- the roleplayer
- the new player
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifyReifier(de.topicmapslab.majortom.model.core.IReifiable r, de.topicmapslab.majortom.model.core.ITopic reifier, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
r
- the constructreifier
- the reifierrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyReifier(de.topicmapslab.majortom.model.core.IReifiable r, de.topicmapslab.majortom.model.core.ITopic reifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyReifier
in class ModifableTopicMapStoreImpl
r
- the reified itemreifier
- the reifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyScope(de.topicmapslab.majortom.model.core.IScopable s, de.topicmapslab.majortom.model.core.ITopic theme) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyScope
in class ModifableTopicMapStoreImpl
s
- the scoped itemtheme
- the theme
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topicsubjectIdentifier
- the subject-identifierrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifySubjectIdentifier
in class ModifableTopicMapStoreImpl
t
- the topicsubjectIdentifier
- the subject-identifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topicsubjectLocator
- the subject-locatorrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if the operation failsprotected void doModifySubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifySubjectLocator
in class ModifableTopicMapStoreImpl
t
- the topicsubjectLocator
- the subject-locator
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifySupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topic typetype
- the super type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifySupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifySupertype
in class ModifableTopicMapStoreImpl
t
- the topictype
- the super type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm, java.lang.String tag) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyTag
in class ModifableTopicMapStoreImpl
tm
- the topic maptag
- the tag
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyTag(de.topicmapslab.majortom.model.core.ITopicMap tm, java.lang.String tag, java.util.Calendar timestamp) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyTag
in class ModifableTopicMapStoreImpl
tm
- the topic maptag
- the tagtimestamp
- the time stamp
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsvoid modifyType(de.topicmapslab.majortom.model.core.ITypeable t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the typed itemtype
- the typerevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyType(de.topicmapslab.majortom.model.core.ITypeable t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyType
in class ModifableTopicMapStoreImpl
t
- the typed itemtype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void modifyTopicType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topic itemtype
- the new typerevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyTopicType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyTopicType
in class ModifableTopicMapStoreImpl
t
- the topictype
- the type to add
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsvoid modifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c, java.lang.Object value, de.topicmapslab.majortom.model.core.ILocator datatype, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
IDatatypeAware
.
c
- the IDatatypeAware
value
- the valuedatatype
- the data typerevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyValue
in class ModifableTopicMapStoreImpl
c
- data-type-aware
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c, java.lang.String value, de.topicmapslab.majortom.model.core.ILocator datatype) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyValue
in class ModifableTopicMapStoreImpl
c
- data-type-awarevalue
- the valuedatatype
- the data type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyValue(de.topicmapslab.majortom.model.core.IDatatypeAware c, java.lang.Object value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyValue
in class ModifableTopicMapStoreImpl
c
- data-type-awarevalue
- the value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsvoid modifyValue(de.topicmapslab.majortom.model.core.IName n, java.lang.String value, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
n
- the namevalue
- the valuerevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void doModifyValue(de.topicmapslab.majortom.model.core.IName n, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyValue
in class ModifableTopicMapStoreImpl
n
- the name
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doModifyMetaData(de.topicmapslab.majortom.model.revision.IRevision revision, java.lang.String key, java.lang.String value) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doModifyMetaData
in class ModifableTopicMapStoreImpl
revision
- the revisionkey
- the key of the meta data setvalue
- the value of the meta data set
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the typescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
t
- the topicscope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
tm
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
tm
- the topic maptype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
tm
- the topic maptype
- the typescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociation> doReadAssociation(de.topicmapslab.majortom.model.core.ITopicMap tm, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadAssociation
in class ReadOnlyTopicMapStoreImpl
tm
- the topic mapscope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.revision.Changeset doReadChangeSet(de.topicmapslab.majortom.model.revision.IRevision r) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadChangeSet
in class ReadOnlyTopicMapStoreImpl
r
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.event.TopicMapEventType doReadChangeSetType(de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadChangeSetType
in class ReadOnlyTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadCharacteristics
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadCharacteristics
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadCharacteristics
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the typescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ICharacteristics> doReadCharacteristics(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadCharacteristics
in class ReadOnlyTopicMapStoreImpl
t
- the topicscope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t, java.lang.String id) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadConstruct
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.IConstruct doReadConstruct(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator itemIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadConstruct
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ILocator doReadDataType(de.topicmapslab.majortom.model.core.IDatatypeAware c) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadDataType
in class ReadOnlyTopicMapStoreImpl
c
- the data-type-aware
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.String doReadId(de.topicmapslab.majortom.model.core.IConstruct c) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadId
in class ReadOnlyTopicMapStoreImpl
c
- the construct
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ILocator> doReadItemIdentifiers(de.topicmapslab.majortom.model.core.IConstruct c) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadItemIdentifiers
in class ReadOnlyTopicMapStoreImpl
c
- the construct
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ILocator doReadLocator(de.topicmapslab.majortom.model.core.ITopicMap t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadLocator
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadNames
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadNames
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadNames
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the typescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IName> doReadNames(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadNames
in class ReadOnlyTopicMapStoreImpl
t
- the topicscope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.revision.IRevision doReadFutureRevision(de.topicmapslab.majortom.model.revision.IRevision r) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadFutureRevision
in class ReadOnlyTopicMapStoreImpl
r
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadOccurrences
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadOccurrences
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadOccurrences
in class ReadOnlyTopicMapStoreImpl
t
- the topictype
- the typescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IOccurrence> doReadOccurrences(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadOccurrences
in class ReadOnlyTopicMapStoreImpl
t
- the topicscope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic doReadPlayer(de.topicmapslab.majortom.model.core.IAssociationRole role) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadPlayer
in class ReadOnlyTopicMapStoreImpl
role
- the role
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.revision.IRevision doReadPastRevision(de.topicmapslab.majortom.model.revision.IRevision r) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadPastRevision
in class ReadOnlyTopicMapStoreImpl
r
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.IReifiable doReadReification(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadReification
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic doReadReification(de.topicmapslab.majortom.model.core.IReifiable r) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadReification
in class ReadOnlyTopicMapStoreImpl
r
- the reified item
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Calendar doReadRevisionTimestamp(de.topicmapslab.majortom.model.revision.IRevision r) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRevisionTimestamp
in class ReadOnlyTopicMapStoreImpl
r
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ITopic> doReadRoleTypes(de.topicmapslab.majortom.model.core.IAssociation association) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoleTypes
in class ReadOnlyTopicMapStoreImpl
association
- the association
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoles
in class ReadOnlyTopicMapStoreImpl
association
- the association
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.IAssociation association, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoles
in class ReadOnlyTopicMapStoreImpl
association
- the associationtype
- the role type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoles
in class ReadOnlyTopicMapStoreImpl
player
- the role player
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoles
in class ReadOnlyTopicMapStoreImpl
player
- the playertype
- the role type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IAssociationRole> doReadRoles(de.topicmapslab.majortom.model.core.ITopic player, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic assocType) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadRoles
in class ReadOnlyTopicMapStoreImpl
player
- the playertype
- the role typeassocType
- the association type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.IScope doReadScope(de.topicmapslab.majortom.model.core.IScopable s) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadScope
in class ReadOnlyTopicMapStoreImpl
s
- the scoped item
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectIdentifiers(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadSubjectIdentifiers
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ILocator> doReadSubjectLocators(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadSubjectLocators
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ITopic> doReadSuptertypes(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadSuptertypes
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectIdentifier(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadTopicBySubjectIdentifier
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic doReadTopicBySubjectLocator(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ILocator subjectLocator) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadTopicBySubjectLocator
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadTopics
in class ReadOnlyTopicMapStoreImpl
t
- the topic map
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ITopic> doReadTopics(de.topicmapslab.majortom.model.core.ITopicMap t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadTopics
in class ReadOnlyTopicMapStoreImpl
t
- the topic maptype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic doReadType(de.topicmapslab.majortom.model.core.ITypeable typed) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadType
in class ReadOnlyTopicMapStoreImpl
typed
- the typed
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.ITopic> doReadTypes(de.topicmapslab.majortom.model.core.ITopic t) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadTypes
in class ReadOnlyTopicMapStoreImpl
t
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware c) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadValue
in class ReadOnlyTopicMapStoreImpl
c
- the data-type-aware
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic <T> T doReadValue(de.topicmapslab.majortom.model.core.IDatatypeAware c, java.lang.Class<T> type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadValue
in class ReadOnlyTopicMapStoreImpl
T
- the type of the valuec
- the data-type-awaretype
- the type of the value
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.Object doReadValue(de.topicmapslab.majortom.model.core.IName n) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadValue
in class ReadOnlyTopicMapStoreImpl
n
- the name
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadVariants
in class ReadOnlyTopicMapStoreImpl
n
- the name
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Set<de.topicmapslab.majortom.model.core.IVariant> doReadVariants(de.topicmapslab.majortom.model.core.IName n, de.topicmapslab.majortom.model.core.IScope scope) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadVariants
in class ReadOnlyTopicMapStoreImpl
n
- the namescope
- the scope
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.util.Map<java.lang.String,java.lang.String> doReadMetaData(de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadMetaData
in class ReadOnlyTopicMapStoreImpl
revision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.String doReadMetaData(de.topicmapslab.majortom.model.revision.IRevision revision, java.lang.String key) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doReadMetaData
in class ReadOnlyTopicMapStoreImpl
revision
- the revisionkey
- the key
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
1. Names of the default name type are weighted higher than names of other types.
2. Names with the unconstrained scope are weighted higher than other scoped names.
3. Names with a smaller number of scoping themes are weighted higher than others.
4. Names with a lexicographically smaller value are weighted higher than others.
5. If no names are existing, the subject-identifier with the lexicographically smallest reference are returned.
6. If no subject-identifiers are existing, the subject-locators with the lexicographically smallest reference are returned.
7. If no subject-locators are existing, the item-identifier with the lexicographically smallest reference are returned.
8. At least the ID of the topic will be returned.
doReadBestLabel
in class ReadOnlyTopicMapStoreImpl
topic
- the topic
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.String doReadBestLabel(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic theme, boolean strict) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
1. Names of the default name type are weighted higher than names of other types.
2. Names with the unconstrained scope are weighted higher than other scoped names.
3. Names with a smaller number of scoping themes are weighted higher than others.
4. Names with a lexicographically smaller value are weighted higher than others.
5. If no names are existing, the subject-identifier with the lexicographically smallest reference are returned.
6. If no subject-identifiers are existing, the subject-locators with the lexicographically smallest reference are returned.
7. If no subject-locators are existing, the item-identifier with the lexicographically smallest reference are returned.
8. At least the ID of the topic will be returned.
doReadBestLabel
in class ReadOnlyTopicMapStoreImpl
topic
- the topictheme
- the themestrict
- if there is no name with the given theme and strict is true
, then null
will
be returned.
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic java.lang.String doReadBestIdentifier(de.topicmapslab.majortom.model.core.ITopic topic, boolean withPrefix)
1. Identifiers are weighted by its types in the following order subject-identifier, subject-locator and item-identifier.
2. If there are more than one identifier of the same type, the shortest will be returned.
3. If there are more than one identifier with the same length, the lexicographically smallest will be returned.
doReadBestIdentifier
in class ReadOnlyTopicMapStoreImpl
topic
- the topicwithPrefix
- flag indicates if the returned identifier will be prefixed with its type. Subject-identifier(
si:
), subject-locator(sl:
) or item-identifier(ii:
).
private java.util.Set<de.topicmapslab.majortom.model.core.IName> filterByDefaultNameType(de.topicmapslab.majortom.model.core.ITopic topic, java.util.Set<de.topicmapslab.majortom.model.core.IName> names)
topic
- the topic as parent of the namesnames
- the names
private java.lang.String readBestName(de.topicmapslab.majortom.model.core.ITopic topic, de.topicmapslab.majortom.model.core.ITopic theme, java.util.Set<de.topicmapslab.majortom.model.core.IName> names, boolean strict) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topictheme
- the themeset
- the non-empty set of namesstrict
- if there is no name with the given theme and strict is true
, then null
will
be returned.
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprivate java.lang.String readBestName(de.topicmapslab.majortom.model.core.ITopic topic, java.util.Set<de.topicmapslab.majortom.model.core.IName> names) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topicset
- the non-empty set of names
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeAssociation(de.topicmapslab.majortom.model.core.IAssociation association, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
association
- the associationcascade
- cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveAssociation(de.topicmapslab.majortom.model.core.IAssociation association, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveAssociation
in class ModifableTopicMapStoreImpl
association
- the associationcascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
void removeConstruct(de.topicmapslab.majortom.model.core.IConstruct construct, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
construct
- the constructcascade
- cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeName(de.topicmapslab.majortom.model.core.IName name, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
name
- the namecascade
- cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveName(de.topicmapslab.majortom.model.core.IName name, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveName
in class ModifableTopicMapStoreImpl
name
- the namecascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void removeOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
occurrence
- the occurrencecascade
- cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveOccurrence(de.topicmapslab.majortom.model.core.IOccurrence occurrence, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveOccurrence
in class ModifableTopicMapStoreImpl
occurrence
- the occurrencecascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
void removeRole(de.topicmapslab.majortom.model.core.IAssociationRole role, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
role
- the rolecascade
- the cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveRole(de.topicmapslab.majortom.model.core.IAssociationRole role, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveRole
in class ModifableTopicMapStoreImpl
role
- the rolecascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void removeVariant(de.topicmapslab.majortom.model.core.IVariant variant, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
variant
- the variantcascade
- cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveVariant(de.topicmapslab.majortom.model.core.IVariant variant, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveVariant
in class ModifableTopicMapStoreImpl
variant
- the variantcascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void removeTopic(de.topicmapslab.majortom.model.core.ITopic topic, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topiccascade
- the cascading flagrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprivate void removeTopic(de.topicmapslab.majortom.model.core.ITopic topic, boolean cascade, de.topicmapslab.majortom.model.revision.IRevision revision, java.util.Set<java.lang.String> topicIds) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
topic
- the topiccascade
- the cascading flagrevision
- the revisiontopicIds
- a set containing all topic id to avoid cycle deletion
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveTopic(de.topicmapslab.majortom.model.core.ITopic topic, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveTopic
in class ModifableTopicMapStoreImpl
topic
- the topiccascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected boolean isTopicInUse(de.topicmapslab.majortom.model.core.ITopic topic)
isTopicInUse
in class ModifableTopicMapStoreImpl
topic
- the topic to check
true
if the topic is used as type, reifier etc. , false
otherwise.protected void doRemoveTopicMap(de.topicmapslab.majortom.model.core.ITopicMap topicMap, boolean cascade) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveTopicMap
in class ModifableTopicMapStoreImpl
topicMap
- the topic mapcascade
- flag indicates if the dependent construct should removed too
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void removeItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
c
- the constructitemIdentifier
- the item identifierrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveItemIdentifier(de.topicmapslab.majortom.model.core.IConstruct c, de.topicmapslab.majortom.model.core.ILocator itemIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveItemIdentifier
in class ModifableTopicMapStoreImpl
c
- the constructitemIdentifier
- the item identifier to remove
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveScope(de.topicmapslab.majortom.model.core.IScopable s, de.topicmapslab.majortom.model.core.ITopic theme) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveScope
in class ModifableTopicMapStoreImpl
s
- the scoped itemtheme
- the theme
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topicsubjectIdentifier
- the subject identifierrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveSubjectIdentifier(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectIdentifier) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveSubjectIdentifier
in class ModifableTopicMapStoreImpl
t
- the topicsubjectIdentifier
- the subject-identifier
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
t
- the topicsubjectLocator
- the subject locatorrevision
- the revision
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveSubjectLocator(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ILocator subjectLocator) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveSubjectLocator
in class ModifableTopicMapStoreImpl
t
- the topicsubjectLocator
- the subject-locator
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void doRemoveSupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveSupertype
in class ModifableTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeSupertype(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
de.topicmapslab.majortom.model.exception.TopicMapStoreException
protected void doRemoveType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
doRemoveType
in class ModifableTopicMapStoreImpl
t
- the topictype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeTopicType(de.topicmapslab.majortom.model.core.ITopic t, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
de.topicmapslab.majortom.model.exception.TopicMapStoreException
public void close() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
close
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
close
in class ReadOnlyTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
public void setTopicMapSystem(de.topicmapslab.majortom.model.core.ITopicMapSystem topicMapSystem)
setTopicMapSystem
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
setTopicMapSystem
in class TopicMapStoreImpl
public void connect() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
connect
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
connect
in class ReadOnlyTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
public <I extends org.tmapi.index.Index> I getIndex(java.lang.Class<I> clazz)
private de.topicmapslab.majortom.model.core.ITopic createDefaultNameType(de.topicmapslab.majortom.model.core.ITopicMap topicMap, de.topicmapslab.majortom.model.revision.IRevision revision)
topicMap
- the topic maprevision
- the revision the revision to handle created type
protected void createTypeInstanceAssociation(de.topicmapslab.majortom.model.core.ITopic instance, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision)
createTypeInstanceAssociation
in class ModifableTopicMapStoreImpl
instance
- the instancetype
- the typeprotected void createSupertypeSubtypeAssociation(de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic supertype, de.topicmapslab.majortom.model.revision.IRevision revision)
createSupertypeSubtypeAssociation
in class ModifableTopicMapStoreImpl
type
- the typesupertype
- the supertypeprotected void removeSupertypeSubtypeAssociation(de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.core.ITopic supertype, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
removeSupertypeSubtypeAssociation
in class ModifableTopicMapStoreImpl
type
- the typesupertype
- the supertype
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected void removeTypeInstanceAssociation(de.topicmapslab.majortom.model.core.ITopic instance, de.topicmapslab.majortom.model.core.ITopic type, de.topicmapslab.majortom.model.revision.IRevision revision) throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
removeTypeInstanceAssociation
in class ModifableTopicMapStoreImpl
instance
- the instancetype
- the type
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmTypeInstanceAssociationType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmTypeInstanceAssociationType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmTypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmTypeRoleType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmInstanceRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmInstanceRoleType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmSupertypeSubtypeAssociationType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmSupertypeSubtypeAssociationType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmSupertypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmSupertypeRoleType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmSubtypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmSubtypeRoleType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic de.topicmapslab.majortom.model.core.ITopic getTmdmDefaultNameType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
getTmdmDefaultNameType
in class ModifableTopicMapStoreImpl
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmTypeInstanceAssociationType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmTypeInstanceAssociationType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmTypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmTypeRoleType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmInstanceRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmInstanceRoleType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmSupertypeSubtypeAssociationType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmSupertypeSubtypeAssociationType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmSupertypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmSupertypeRoleType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmSubtypeRoleType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmSubtypeRoleType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failspublic boolean existsTmdmDefaultNameType() throws de.topicmapslab.majortom.model.exception.TopicMapStoreException
existsTmdmDefaultNameType
in class ModifableTopicMapStoreImpl
true
if this topic type exists, false
otherwise
de.topicmapslab.majortom.model.exception.TopicMapStoreException
- thrown if operation failsprotected CharacteristicsStore createCharacteristicsStore(InMemoryTopicMapStore store, de.topicmapslab.majortom.model.core.ILocator xsdString)
store
- the calling store instancexsdString
- the locator of datatype xsd:string
protected ScopeStore createScopeStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected AssociationStore createAssociationStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected IdentityStore createIdentityStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected ReificationStore createReificationStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected TopicTypeStore createTopicTypeStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected TypedStore createTypedStore(InMemoryTopicMapStore store)
store
- the calling store instance
protected RevisionStore createRevisionStore(InMemoryTopicMapStore store)
store
- the calling store instance
public CharacteristicsStore getCharacteristicsStore()
public ScopeStore getScopeStore()
public AssociationStore getAssociationStore()
public IdentityStore getIdentityStore()
public ReificationStore getReificationStore()
public TopicTypeStore getTopicTypeStore()
public TypedStore getTypedStore()
public RevisionStore getRevisionStore()
public de.topicmapslab.majortom.model.transaction.ITransaction createTransaction()
createTransaction
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
createTransaction
in class ReadOnlyTopicMapStoreImpl
public boolean isTransactable()
isTransactable
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
isTransactable
in class TopicMapStoreImpl
public void storeRevision(de.topicmapslab.majortom.model.revision.IRevision revision, de.topicmapslab.majortom.model.event.TopicMapEventType type, de.topicmapslab.majortom.model.core.IConstruct context, java.lang.Object newValue, java.lang.Object oldValue)
storeRevision
in class ModifableTopicMapStoreImpl
revision
- the revision the change set should add totype
- the type of changecontext
- the context of changenewValue
- the new value after changeoldValue
- the old value before changeprotected de.topicmapslab.majortom.model.revision.IRevision createRevision(de.topicmapslab.majortom.model.event.TopicMapEventType type)
createRevision
in class ModifableTopicMapStoreImpl
protected void addTaskToThreadPool(java.lang.Runnable task)
addTaskToThreadPool
in class TopicMapStoreImpl
task
- the task to addpublic void commit()
commit
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
commit
in class ReadOnlyTopicMapStoreImpl
public void removeDuplicates()
removeDuplicates
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
removeDuplicates
in class ModifableTopicMapStoreImpl
public void clear()
clear
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
clear
in class ModifableTopicMapStoreImpl
public void enableCaching(boolean enable)
enableCaching
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
enableCaching
in class ReadOnlyTopicMapStoreImpl
enable
- true
to enable the cache, false
to disable itpublic boolean isCachingEnabled()
isCachingEnabled
in interface de.topicmapslab.majortom.model.store.ITopicMapStore
isCachingEnabled
in class ReadOnlyTopicMapStoreImpl
true
if caching is enabled, false
otherwise.public InMemoryIdentity getTopicMapIdentity()
public int getCapacityOfCollections()
SignatureStore getSignatureStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |