org.semanticdesktop.aperture.crawler.samba
Class SambaDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.crawler.samba.SambaDataSource
All Implemented Interfaces:
DataSource

public class SambaDataSource
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\crawler\samba\SambaDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2010/05/19/sambads#SambaDataSource


Constructor Summary
SambaDataSource()
           
 
Method Summary
 String getDomain()
          Returns the The name of the domain or workgroup
 String getPassword()
          Returns the The Password used to access this datasource.
 String getPath()
          Returns the Path to the file or folder that is to be crawled
 Integer getPort()
          Returns the The port number where the server is listening for connections
 String getServer()
          Returns the The DNS name or the IP address of the server
 String getShare()
          Returns the The name of the network share
 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 setDomain(String domain)
          Sets the The name of the domain or workgroup
 void setPassword(String password)
          Sets the The Password used to access this datasource.
 void setPath(String path)
          Sets the Path to the file or folder that is to be crawled
 void setPort(Integer port)
          Sets the The port number where the server is listening for connections
 void setServer(String server)
          Sets the The DNS name or the IP address of the server
 void setShare(String share)
          Sets the The name of the network share
 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

SambaDataSource

public SambaDataSource()
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()

getDomain

public String getDomain()
Returns the The name of the domain or workgroup

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

setDomain

public void setDomain(String domain)
Sets the The name of the domain or workgroup

Parameters:
domain - The name of the domain or workgroup, 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

getServer

public String getServer()
Returns the The DNS name or the IP address of the server

Returns:
the The DNS name or the IP address of the server or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setServer

public void setServer(String server)
Sets the The DNS name or the IP address of the server

Parameters:
server - The DNS name or the IP address of the server, 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

getPort

public Integer getPort()
Returns the The port number where the server is listening for connections

Returns:
the The port number where the server is listening for connections or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setPort

public void setPort(Integer port)
Sets the The port number where the server is listening for connections

Parameters:
port - The port number where the server is listening for connections, 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

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

getPassword

public String getPassword()
Returns the The Password used to access this datasource.

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

setPassword

public void setPassword(String password)
Sets the The Password used to access this datasource.

Parameters:
password - The Password used to access this datasource., 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

getShare

public String getShare()
Returns the The name of the network share

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

setShare

public void setShare(String share)
Sets the The name of the network share

Parameters:
share - The name of the network share, 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

getPath

public String getPath()
Returns the Path to the file or folder that is to be crawled

Returns:
the Path to the file or folder 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

setPath

public void setPath(String path)
Sets the Path to the file or folder that is to be crawled

Parameters:
path - Path to the file or folder 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.