Class TableColumn
java.lang.Object
com.northconcepts.datapipeline.sql.h2.TableColumn
Represents a table column definition for H2.
-
Constructor Summary
ConstructorsConstructorDescriptionTableColumn(String name, TableColumnType type) Constructs a table column with the specified name and type. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the column name.getType()Returns the column type.Sets the column name.setType(TableColumnType type) Sets the column type.
-
Constructor Details
-
TableColumn
Constructs a table column with the specified name and type.- Parameters:
name- the column nametype- the column type
-
-
Method Details
-
getName
Returns the column name.- Returns:
- the column name
-
setName
Sets the column name.- Parameters:
name- the column name- Returns:
- this instance
-
getType
Returns the column type.- Returns:
- the column type
-
setType
Sets the column type.- Parameters:
type- the column type- Returns:
- this instance
-