com.ibm.commerce.foundation.dataload.datareader

Class DataSourceLocation

  • java.lang.Object
    • com.ibm.commerce.foundation.dataload.datareader.DataSourceLocation


  • public class DataSourceLocation
    extends java.lang.Object

    This class represents a data source location for a data reader.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Map getDataSourceLocationProperties()
      This method returns the Map containing properties in the form of name-value pairs to describe properties required by the data source location.
      java.lang.String getLocation()
      This method returns the location of the data source.
      java.lang.String getOldLocation()
      Gets the old file location
      void setLocation(java.lang.String aDataSourceLocation)
      This method sets the location of the data source.
      void setOldLocation(java.lang.String oldLocation)
      Sets the old file location
      java.lang.String toString()
      This method returns a String representation of the data source location object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataSourceLocation

        public DataSourceLocation()
    • Method Detail

      • toString

        public java.lang.String toString()

        This method returns a String representation of the data source location object.

        Overrides:
        toString in class java.lang.Object
        Returns:
        String Returns a String representation of the data source location object.
      • setLocation

        public void setLocation(java.lang.String aDataSourceLocation)

        This method sets the location of the data source.

        Parameters:
        aDataSourceLocation - A String representing the data source location.
      • getLocation

        public java.lang.String getLocation()

        This method returns the location of the data source.

        Returns:
        A String representing the data source location.
      • getDataSourceLocationProperties

        public java.util.Map getDataSourceLocationProperties()

        This method returns the Map containing properties in the form of name-value pairs to describe properties required by the data source location.

        Each implementation of a DataReader must understand and maintain it's own set of property information.

        Returns:
        A Map containing properties in the form of name-value pairs to describe properties required by the data source location.
      • getOldLocation

        public java.lang.String getOldLocation()
        Gets the old file location
        Returns:
        the old file location
      • setOldLocation

        public void setOldLocation(java.lang.String oldLocation)
        Sets the old file location
        Parameters:
        oldLocation - the old file location