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.datasource.mojo.DataSourceClassGenerator on Thu Jul 01 14:28:16 CEST 2010 input file: D:\intella\aperture-trunk\target\checkout\core\src\main\resources\org\semanticdesktop\aperture\websites\bibsonomy\bibsonomyDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2008/11/14/bibsonomyds#BibsonomyDataSource


Constructor Summary
BibsonomyDataSource()
           
 
Method Summary
 String getApikey()
          Returns the The API key
 String getApiusername()
          Returns the The username associated with the API key.
 String getCrawledusername()
          Returns the The name of the account that is to be crawled
 URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 void setApikey(String apikey)
          Sets the The API key
 void setApiusername(String apiusername)
          Sets the The username associated with the API key.
 void setCrawledusername(String crawledusername)
          Sets the The name of the account that is to be crawled
 
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 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()

getApiusername

public String getApiusername()
Returns the The username associated with the API key. Necessary for programmatic access to bibsonomy. It can be different from the name of the account that is to be crawled.

Returns:
the The username associated with the API key. Necessary for programmatic access to bibsonomy. It can be different from the name of the account that is to be crawled. or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setApiusername

public void setApiusername(String apiusername)
Sets the The username associated with the API key. Necessary for programmatic access to bibsonomy. It can be different from the name of the account that is to be crawled.

Parameters:
apiusername - The username associated with the API key. Necessary for programmatic access to bibsonomy. It can be different from the name of the account that is to be crawled., 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

getApikey

public String getApikey()
Returns the The API key

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

setApikey

public void setApikey(String apikey)
Sets the The API key

Parameters:
apikey - The API key, 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

getCrawledusername

public String getCrawledusername()
Returns the The name of the account that is to be crawled

Returns:
the The name of the account that is to be crawled or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setCrawledusername

public void setCrawledusername(String crawledusername)
Sets the The name of the account that is to be crawled

Parameters:
crawledusername - The name of the account that is to be crawled, 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


Copyright © 2010 Aperture Development Team. All Rights Reserved.