|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSource
A DataSource defines the characteristics of a source from which DataObjects can be extracted. A Datasource contains all information necessary to realize these objects, such as paths, usernames, passwords, etc.
| Method Summary | |
|---|---|
void |
dispose()
Disposes this DataSource. |
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. |
URI |
getType()
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way. |
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. |
| Method Detail |
|---|
URI getID()
String getName()
void setName(String name)
name - A descriptive name for the data source.URI getType()
RDFContainer getConfiguration()
void setConfiguration(RDFContainer configuration)
configuration - A mutable RDFContainer, or 'null' when the DataSource's configuration needs to be
temporarily unset.void dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||