com.ibm.commerce.foundation.dataload.config

Class TableConfigProperties

  • java.lang.Object
    • com.ibm.commerce.foundation.dataload.config.TableConfigProperties


  • public class TableConfigProperties
    extends java.lang.Object
    This class represent a Table node in the configuration. It contains a table name and a list of column properties.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TableConfigProperties(java.lang.String tableName, java.lang.String deleteKey, java.lang.String deleteValue, java.util.List columnList)
      Constructor
    • Constructor Detail

      • TableConfigProperties

        public TableConfigProperties(java.lang.String tableName,
                                     java.lang.String deleteKey,
                                     java.lang.String deleteValue,
                                     java.util.List columnList)
        Constructor
        Parameters:
        tableName - table name
        deleteKey - delete key name
        deleteValue - delete value
        columnList - a list of ColumnConfigProperties
    • Method Detail

      • getTableName

        public java.lang.String getTableName()
        Get the table name
        Returns:
        the table name
      • getColumnList

        public java.util.List getColumnList()
        Get the column list. Each element in the list is a ColumnConfigProperties
        Returns:
        the column list.
      • getIDResolveProperties

        public IDResolveConfigProperties getIDResolveProperties(java.lang.String columnName)
        Get the ID resolve properties associated with the column name.
        Parameters:
        columnName - column name
        Returns:
        the ID resolve properties associated with the column name. If there are no ID resolve properties associated with the column name, null will be returned.
      • addIDResolveProperties

        public void addIDResolveProperties(java.lang.String columnName,
                                           IDResolveConfigProperties idResolveProperties)
        Add an association ID resolve properties to the column name
        Parameters:
        columnName - column name
        idResolveProperties - ID resolve properties.
      • getDeleteKey

        public java.lang.String getDeleteKey()
        Get the delete key
        Returns:
        the delete key
      • getDeleteValue

        public java.lang.String getDeleteValue()
        Get the delete value string
        Returns:
        the delete value string
      • getClassName

        public java.lang.String getClassName()
        Get the class name
        Returns:
        the class name
      • setClassName

        public void setClassName(java.lang.String className)
        Set a class name
        Parameters:
        className - a class name
      • getParameterList

        public java.util.List<com.ibm.commerce.foundation.dataload.config.ParameterProperties> getParameterList()
        Get the parameter list
        Returns:
        the parameter list
      • setParameterList

        public void setParameterList(java.util.List<com.ibm.commerce.foundation.dataload.config.ParameterProperties> parameterList)
        Set parameter list
        Parameters:
        parameterList - a parameter list
      • isExcludeUnListedColumns

        public boolean isExcludeUnListedColumns()
        Returns the flag whether to exclude all columns which are not specified.
        Returns:
        the flag whether to exclude all columns which are not specified.
      • setExcludeUnListedColumns

        public void setExcludeUnListedColumns(boolean bExcludeUnListedColumns)
        Set the flag for the excluding all columns which are not specified.
        Parameters:
        bExcludeUnListedColumns - a true or false flag
      • toString

        public java.lang.String toString()
        Build the string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        String Build the string representation of this object.