Class AbstractDataSource

  • All Implemented Interfaces:
    DataSource

    public abstract class AbstractDataSource
    extends java.lang.Object
    implements DataSource
    AbstractDataSource
    • Constructor Detail

      • AbstractDataSource

        public AbstractDataSource()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the Id
        Specified by:
        getId in interface DataSource
        Returns:
        The Id
      • setId

        public void setId​(java.lang.String strId)
        Sets the Id
        Parameters:
        strId - The Id
      • getName

        public java.lang.String getName()
        Returns the Name
        Specified by:
        getName in interface DataSource
        Returns:
        The Name
      • setName

        public void setName​(java.lang.String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • getTargetIndexName

        public java.lang.String getTargetIndexName()
        Returns the TargetIndexName
        Specified by:
        getTargetIndexName in interface DataSource
        Returns:
        The TargetIndexName
      • setTargetIndexName

        public void setTargetIndexName​(java.lang.String strTargetIndexName)
        Sets the TargetIndexName
        Parameters:
        strTargetIndexName - The TargetIndexName
      • getBatchSize

        public int getBatchSize()
        Returns the BatchSize
        Specified by:
        getBatchSize in interface DataSource
        Returns:
        The BatchSize
      • setBatchSize

        public void setBatchSize​(int nBatchSize)
        Sets the BatchSize
        Parameters:
        nBatchSize - The BatchSize
      • isLocalizable

        public boolean isLocalizable()
        Returns the Localizable
        Specified by:
        isLocalizable in interface DataSource
        Returns:
        The Localizable
      • setLocalizable

        public void setLocalizable​(boolean bLocalizable)
        Sets the Localizable
        Parameters:
        bLocalizable - The Localizable
      • getMappings

        public java.lang.String getMappings()
        Returns the Mappings
        Specified by:
        getMappings in interface DataSource
        Returns:
        The Mappings
      • setMappings

        public void setMappings​(java.lang.String strMappings)
        Sets the Mappings
        Parameters:
        strMappings - The Mappings
      • usesFullIndexingDaemon

        public boolean usesFullIndexingDaemon()
        Returns the FullIndexingDaemon
        Specified by:
        usesFullIndexingDaemon in interface DataSource
        Returns:
        The FullIndexingDaemon
      • setFullIndexingDaemon

        public void setFullIndexingDaemon​(boolean bFullIndexingDaemon)
        Sets the FullIndexingDaemon
        Parameters:
        bFullIndexingDaemon - The FullIndexingDaemon
      • getDataObjectsIterator

        public java.util.Iterator<DataObject> getDataObjectsIterator​(java.util.List<java.lang.String> listIdDataObjects)
        An iterator of data object from a list of data objects identifiers
        Specified by:
        getDataObjectsIterator in interface DataSource
        Returns:
        an Iterator
      • getIndexingStatus

        public IndexingStatus getIndexingStatus()
        return the IndexingStatus of this datasource
        Specified by:
        getIndexingStatus in interface DataSource
        Returns:
        IndexingStatus the Indexing status
      • setExternalAttributesProvider

        public void setExternalAttributesProvider​(java.util.Collection<IDataSourceExternalAttributesProvider> colExternalAttributesProvider)
        Set the external attributes provider for the data source
        Parameters:
        colExternalAttributesProvider -