Class DataConverterRegistration

java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.io.DataConverterRegistration

public class DataConverterRegistration extends Object
Represents the registration of a data converter for tasks that work on data files.
Version:
$Revision: 289996 $
  • Constructor Details

    • DataConverterRegistration

      public DataConverterRegistration()
  • Method Details

    • getConverter

      public SqlTypeConverter getConverter()
      Returns the converter.
      Returns:
      The converter
    • setClassName

      public void setClassName(String converterClassName) throws org.apache.tools.ant.BuildException
      Sets the converter class.
      Parameters:
      converterClassName - The fully qualified converter class name
      Throws:
      org.apache.tools.ant.BuildException
    • getTypeCode

      public int getTypeCode()
      Returns the jdbc type.
      Returns:
      The jdbc type code
    • setJdbcType

      public void setJdbcType(String jdbcTypeName) throws org.apache.tools.ant.BuildException
      Sets the jdbc type.
      Parameters:
      jdbcTypeName - The jdbc type name
      Throws:
      org.apache.tools.ant.BuildException
    • getColumn

      public String getColumn()
      Returns the column for which this converter is defined.
      Returns:
      The column
    • setColumn

      public void setColumn(String column) throws org.apache.tools.ant.BuildException
      Sets the column for which this converter is defined.
      Parameters:
      column - The column
      Throws:
      org.apache.tools.ant.BuildException
    • getTable

      public String getTable()
      Returns the table for whose column this converter is defined.
      Returns:
      The table
    • setTable

      public void setTable(String table) throws org.apache.tools.ant.BuildException
      Sets the table for whose column this converter is defined.
      Parameters:
      table - The table
      Throws:
      org.apache.tools.ant.BuildException