|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticdesktop.aperture.datasource.base.DataSourceBase
public abstract class DataSourceBase
A trivial default implementation of the DataSource interface.
| Constructor Summary | |
|---|---|
DataSourceBase()
|
|
DataSourceBase(RDFContainer configuration)
|
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes this DataSource. |
String |
getComment()
|
RDFContainer |
getConfiguration()
Gets the RDF model containing the configuration of this DataSource. |
URI |
getID()
Gets the id of this data source. |
String |
getName()
Gets the name of this data source. |
Integer |
getTimeout()
|
void |
setComment(String comment)
|
void |
setConfiguration(RDFContainer configuration)
Sets the RDF model containing the configuration of this DataSource. |
void |
setName(String name)
Sets the name of this data source. |
void |
setTimeout(int timeout)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.semanticdesktop.aperture.datasource.DataSource |
|---|
getType |
| Constructor Detail |
|---|
public DataSourceBase()
public DataSourceBase(RDFContainer configuration)
| Method Detail |
|---|
public URI getID()
DataSource
getID in interface DataSourcepublic String getName()
DataSource
getName in interface DataSourcepublic void setName(String name)
DataSource
setName in interface DataSourcename - A descriptive name for the data source.public String getComment()
public void setComment(String comment)
public Integer getTimeout()
public void setTimeout(int timeout)
public RDFContainer getConfiguration()
DataSource
getConfiguration in interface DataSourcepublic void setConfiguration(RDFContainer configuration)
DataSource
setConfiguration in interface DataSourceconfiguration - A mutable RDFContainer, or 'null' when the DataSource's configuration needs to be
temporarily unset.public void dispose()
DataSource
dispose in interface DataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||