org.semanticdesktop.aperture.websites.bibsonomy
Class BibsonomyDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.websites.bibsonomy.BibsonomyDataSource
All Implemented Interfaces:
DataSource

public class BibsonomyDataSource
extends DataSourceBase

Data source class file. Created by org.semanticdesktop.aperture.util.DataSourceClassGenerator on Mon Jul 21 14:59:21 CEST 2008 input file: /Users/pikson/DFKI/psew_workspace/aperture/src/java/org/semanticdesktop/aperture/websites/bibsonomy/bibsonomyDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2007/08/11/bibsonomyds#BibsonomyDataSource


Nested Class Summary
static class BibsonomyDataSource.CrawlType
          Enum of possible values of the crawlType property
 
Constructor Summary
BibsonomyDataSource()
           
 
Method Summary
 BibsonomyDataSource.CrawlType getCrawlType()
          Returns the Type of crawl
 org.ontoware.rdf2go.model.node.URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 String getUsername()
          Returns the Username used for authentication in a data source
 void setCrawlType(BibsonomyDataSource.CrawlType crawlType)
          Sets the Type of crawl
 void setUsername(String username)
          Sets the Username used for authentication in a data source
 
Methods inherited from class org.semanticdesktop.aperture.datasource.base.DataSourceBase
dispose, getComment, getConfiguration, getID, getName, getTimeout, setComment, setConfiguration, setName, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BibsonomyDataSource

public BibsonomyDataSource()
Method Detail

getType

public org.ontoware.rdf2go.model.node.URI getType()
Description copied from interface: DataSource
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.

Returns:
A URI indicating the DataSource type
See Also:
DataSource.getType()

getUsername

public String getUsername()
Returns the Username used for authentication in a data source

Returns:
the Username used for authentication in a data source or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setUsername

public void setUsername(String username)
Sets the Username used for authentication in a data source

Parameters:
username - Username used for authentication in a data source, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getCrawlType

public BibsonomyDataSource.CrawlType getCrawlType()
Returns the Type of crawl

Returns:
the Type of crawl or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setCrawlType

public void setCrawlType(BibsonomyDataSource.CrawlType crawlType)
Sets the Type of crawl

Parameters:
crawlType - Type of crawl, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method