net.ontopia.topicmaps.impl.basic
Class InMemoryTopicMapStore

java.lang.Object
  extended by net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
      extended by net.ontopia.topicmaps.impl.basic.InMemoryTopicMapStore
All Implemented Interfaces:
TopicMapStoreIF

public class InMemoryTopicMapStore
extends net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore

PUBLIC: The in-memory TopicMapStoreIF implementation.


Field Summary
 
Fields inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
topic_listeners
 
Fields inherited from interface net.ontopia.topicmaps.core.TopicMapStoreIF
IN_MEMORY_IMPLEMENTATION, RDBMS_IMPLEMENTATION
 
Constructor Summary
InMemoryTopicMapStore()
           
 
Method Summary
 void close()
          PUBLIC: Closes the store and aborts the transaction if active.
 void close(boolean returnStore)
           
 int getImplementation()
          PUBLIC: Returns the topic map implementation identifier.
 java.lang.String getProperty(java.lang.String propertyName)
          PUBLIC: Returns the value of the specified topic map store property.
 net.ontopia.topicmaps.impl.utils.TopicMapTransactionIF getTransaction()
           
 boolean isTransactional()
          PUBLIC: Returns true if the store supports transactions.
 void setBaseAddress(LocatorIF base_address)
          EXPERIMENTAL: Sets the persistent base address of the store.
 
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
abort, commit, delete, getBaseAddress, getReference, getTopicMap, isOpen, isReadOnly, open, setReadOnly, setReference, setTopicListeners, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryTopicMapStore

public InMemoryTopicMapStore()
Method Detail

getImplementation

public int getImplementation()
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns the topic map implementation identifier.

Returns:
int: IMPLEMENTATION_BASIC or IMPLEMENTATION_RDBMS flags

isTransactional

public boolean isTransactional()
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns true if the store supports transactions.

Returns:
Boolean: true if transactional, false if not.

getTransaction

public net.ontopia.topicmaps.impl.utils.TopicMapTransactionIF getTransaction()
Specified by:
getTransaction in class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore

setBaseAddress

public void setBaseAddress(LocatorIF base_address)
Description copied from interface: TopicMapStoreIF
EXPERIMENTAL: Sets the persistent base address of the store.


close

public void close()
Description copied from interface: TopicMapStoreIF
PUBLIC: Closes the store and aborts the transaction if active.


close

public void close(boolean returnStore)
Specified by:
close in class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore

getProperty

public java.lang.String getProperty(java.lang.String propertyName)
Description copied from interface: TopicMapStoreIF
PUBLIC: Returns the value of the specified topic map store property.



Copyright © 2000-2009 Ontopia.