|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.impl.rdbms.RDBMSSingleTopicMapSource
public class RDBMSSingleTopicMapSource
PUBLIC: A topic map source that holds a reference to a single rdbms topic map. Individual topic maps can thus be pointed to by this source implementation.
| Field Summary | |
|---|---|
protected LocatorIF |
base_address
|
protected boolean |
hidden
|
protected java.lang.String |
id
|
protected java.lang.String |
propfile
|
protected RDBMSTopicMapReference |
reference
|
protected java.lang.String |
referenceId
|
protected java.lang.String |
title
|
protected java.lang.String |
topicListeners
|
protected long |
topicmap_id
|
| Constructor Summary | |
|---|---|
RDBMSSingleTopicMapSource()
|
|
| Method Summary | |
|---|---|
protected RDBMSStorage |
createStorage()
|
TopicMapReferenceIF |
createTopicMap(java.lang.String name,
java.lang.String baseAddress)
PUBLIC: Creates a new topic map in the underlying source and returns a reference to the created topic map. |
java.lang.String |
getAlias()
Deprecated. Replaced by getReferenceId(). |
java.lang.String |
getBaseAddress()
PUBLIC: Gets the base address of the topic maps retrieved from the source. |
boolean |
getHidden()
|
java.lang.String |
getId()
PUBLIC: Gets the id of the source. |
java.lang.String |
getPropertyFile()
PUBLIC: Gets the database property file containing configuration parameters for accessing the rdbms database. |
java.lang.String |
getReferenceId()
PUBLIC: Gets the id of the topic map reference for this topic map source. |
protected java.lang.String |
getReferenceId(long topicmap_id)
|
java.util.Collection |
getReferences()
PUBLIC: Returns an unmodifiable collection of TopicMapReferenceIFs found by the topic map source. |
java.lang.String |
getTitle()
PUBLIC: Gets the title of the source. |
java.lang.String |
getTopicListeners()
|
java.lang.String |
getTopicMapId()
PUBLIC: Gets the id of the topic map referenced. |
void |
refresh()
PUBLIC: Refreshes the collection of references. |
void |
setAlias(java.lang.String alias)
Deprecated. Replaced by setReferenceId(String). |
void |
setBaseAddress(java.lang.String base_address)
PUBLIC: Sets the base address of the topic maps retrieved from the source. |
void |
setHidden(boolean hidden)
|
void |
setId(java.lang.String id)
PUBLIC: Sets the id of the source. |
void |
setPropertyFile(java.lang.String propfile)
PUBLIC: Sets the database property file containing configuration parameters for accessing the rdbms database. |
void |
setReferenceId(java.lang.String referenceId)
PUBLIC: Sets the id of the topic map reference for this topic map source. |
void |
setTitle(java.lang.String title)
PUBLIC: Sets the title of the source. |
void |
setTopicListeners(java.lang.String topicListeners)
|
void |
setTopicMapId(long id)
PUBLIC: Sets the id of the topic map referenced. |
void |
setTopicMapId(java.lang.String id)
PUBLIC: Sets the id of the topic map referenced. |
boolean |
supportsCreate()
PUBLIC: Returns true if the source supports creating new topic maps with the createTopicMap. |
boolean |
supportsDelete()
PUBLIC: Returns true if the source supports deleting topic map with the TopicMapReferenceIF.delete() method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String id
protected java.lang.String referenceId
protected java.lang.String title
protected java.lang.String propfile
protected long topicmap_id
protected LocatorIF base_address
protected boolean hidden
protected java.lang.String topicListeners
protected RDBMSTopicMapReference reference
| Constructor Detail |
|---|
public RDBMSSingleTopicMapSource()
| Method Detail |
|---|
public TopicMapReferenceIF createTopicMap(java.lang.String name,
java.lang.String baseAddress)
TopicMapSourceIF
createTopicMap in interface TopicMapSourceIFpublic java.util.Collection getReferences()
TopicMapSourceIFTopicMapReferenceIFs found by the topic map source.
getReferences in interface TopicMapSourceIFpublic void refresh()
TopicMapSourceIF
refresh in interface TopicMapSourceIFpublic java.lang.String getId()
TopicMapSourceIF
getId in interface TopicMapSourceIFpublic void setId(java.lang.String id)
TopicMapSourceIFUnsupportedOperationException if it does not support
setting the id.
setId in interface TopicMapSourceIFpublic java.lang.String getTitle()
TopicMapSourceIF
getTitle in interface TopicMapSourceIFpublic void setTitle(java.lang.String title)
TopicMapSourceIF
setTitle in interface TopicMapSourceIFpublic boolean supportsCreate()
TopicMapSourceIF
supportsCreate in interface TopicMapSourceIFpublic boolean supportsDelete()
TopicMapSourceIF
supportsDelete in interface TopicMapSourceIF
protected RDBMSStorage createStorage()
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getReferenceId(long topicmap_id)
public java.lang.String getPropertyFile()
public void setPropertyFile(java.lang.String propfile)
public java.lang.String getTopicMapId()
public void setTopicMapId(java.lang.String id)
public void setTopicMapId(long id)
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
public java.lang.String getReferenceId()
public void setReferenceId(java.lang.String referenceId)
public java.lang.String getBaseAddress()
public void setBaseAddress(java.lang.String base_address)
public boolean getHidden()
public void setHidden(boolean hidden)
public java.lang.String getTopicListeners()
public void setTopicListeners(java.lang.String topicListeners)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||