net.ontopia.topicmaps.impl.tmapi2
Class RDBMSTopicMapSystemImpl
java.lang.Object
net.ontopia.topicmaps.impl.tmapi2.RDBMSTopicMapSystemImpl
- All Implemented Interfaces:
- TopicMapSystemIF, org.tmapi.core.TopicMapSystem
public class RDBMSTopicMapSystemImpl
- extends java.lang.Object
- implements TopicMapSystemIF
INTERNAL: OKS->TMAPI 2 object wrapper.
Required properties:
- net.ontopia.topicmaps.impl.rdbms.Database (e.g. mysql)
- net.ontopia.topicmaps.impl.rdbms.ConnectionString (e.g. jdbc:mysql://localhost/ontopia)
- net.ontopia.topicmaps.impl.rdbms.DriverClass (e.g. com.mysql.jdbc.Driver)
- net.ontopia.topicmaps.impl.rdbms.UserName
- net.ontopia.topicmaps.impl.rdbms.Password
- net.ontopia.topicmaps.impl.rdbms.ConnectionPool (e.g. true)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDBMSTopicMapSystemImpl
public RDBMSTopicMapSystemImpl(TopicMapSystemFactory topicMapSystemFactory)
close
public void close()
- Specified by:
close
in interface org.tmapi.core.TopicMapSystem
createLocator
public org.tmapi.core.Locator createLocator(java.lang.String reference)
- Specified by:
createLocator
in interface org.tmapi.core.TopicMapSystem
wrapLocator
public org.tmapi.core.Locator wrapLocator(LocatorIF loc)
- Specified by:
wrapLocator
in interface TopicMapSystemIF
createTopicMap
public TopicMapImpl createTopicMap(org.tmapi.core.Locator loc)
throws org.tmapi.core.TopicMapExistsException
- Specified by:
createTopicMap
in interface org.tmapi.core.TopicMapSystem
- Throws:
org.tmapi.core.TopicMapExistsException
createTopicMap
public TopicMapImpl createTopicMap(java.lang.String reference)
throws org.tmapi.core.TopicMapExistsException
- Specified by:
createTopicMap
in interface org.tmapi.core.TopicMapSystem
- Throws:
org.tmapi.core.TopicMapExistsException
getFeature
public boolean getFeature(java.lang.String feature)
throws org.tmapi.core.FeatureNotRecognizedException
- Specified by:
getFeature
in interface org.tmapi.core.TopicMapSystem
- Throws:
org.tmapi.core.FeatureNotRecognizedException
getLocators
public java.util.Set<org.tmapi.core.Locator> getLocators()
- Specified by:
getLocators
in interface org.tmapi.core.TopicMapSystem
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface org.tmapi.core.TopicMapSystem
getTopicMap
public TopicMapImpl getTopicMap(java.lang.String reference)
- Specified by:
getTopicMap
in interface org.tmapi.core.TopicMapSystem
getTopicMap
public TopicMapImpl getTopicMap(org.tmapi.core.Locator loc)
- Specified by:
getTopicMap
in interface org.tmapi.core.TopicMapSystem
remove
public void remove(LocatorIF loc)
- Specified by:
remove
in interface TopicMapSystemIF
Copyright © 2000-2012 Ontopia.