Class TableColumn

java.lang.Object
com.northconcepts.datapipeline.sql.h2.TableColumn

public class TableColumn extends Object
Represents a table column definition for H2.
  • Constructor Details

    • TableColumn

      public TableColumn(String name, TableColumnType type)
      Constructs a table column with the specified name and type.
      Parameters:
      name - the column name
      type - the column type
  • Method Details

    • getName

      public String getName()
      Returns the column name.
      Returns:
      the column name
    • setName

      public TableColumn setName(String name)
      Sets the column name.
      Parameters:
      name - the column name
      Returns:
      this instance
    • getType

      public TableColumnType getType()
      Returns the column type.
      Returns:
      the column type
    • setType

      public TableColumn setType(TableColumnType type)
      Sets the column type.
      Parameters:
      type - the column type
      Returns:
      this instance