org.semanticdesktop.aperture.datasource.config
Class DomainBoundableDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.datasource.config.DomainBoundableDataSource
All Implemented Interfaces:
DomainBoundable, DataSource
Direct Known Subclasses:
FileSystemDataSource, ImapDataSource, MboxDataSource, WebDataSource

public abstract class DomainBoundableDataSource
extends DataSourceBase
implements DomainBoundable


Constructor Summary
DomainBoundableDataSource()
           
 
Method Summary
 DomainBoundaries getDomainBoundaries()
          Returns the domain boundaries for this data source
 void setDomainBoundaries(DomainBoundaries domainBoundaries)
          Sets the domain boundaries for this 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
 
Methods inherited from interface org.semanticdesktop.aperture.datasource.DataSource
getType
 

Constructor Detail

DomainBoundableDataSource

public DomainBoundableDataSource()
Method Detail

getDomainBoundaries

public DomainBoundaries getDomainBoundaries()
Returns the domain boundaries for this data source

Specified by:
getDomainBoundaries in interface DomainBoundable
Returns:
the domain boundaries for this data source
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setDomainBoundaries

public void setDomainBoundaries(DomainBoundaries domainBoundaries)
Sets the domain boundaries for this data source

Parameters:
domainBoundaries - the domain boundaries, 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.