public class Column
extends Object
The model of the column tag in a Torque schema file.
- Version:
- $Id: $
-
Feldübersicht
Felder
The default value of the column.
Whether getters and setters for the field in the database object
should be protected instead of public.
Whether this column should be automatically set by whatever
id generation mechanism used for this column.
Contains the SQL to define the column.
The description of (== comment for) the column.
The domain reference name to set common settings.
the constraint name for an enum column.
The name of the enum type for the column.
The list of enum values for this column.
Whether to generate an enum constraint for the column
(nb: predefined enums can be defined for which no constraint can be defuned).
The list of inheritances for this column.
The inheritance method used.
The field name for the column in the database object.
The type of the field for the column in the database object.
The list of options for this column.
The table to which the column belongs.
Whether this column is a primary key of this column.
Whether this column is required to be not-null.
How many decimal places, characters or bytes the column can take.
Whether the database default value should be used when saving
this column.
Whether this column is a version column.
-
Konstruktorübersicht
Konstruktoren
-
Methodenübersicht
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Felddetails
-
parent
The table to which the column belongs.
-
optionList
The list of options for this column.
-
inheritanceList
The list of inheritances for this column.
-
enumValueList
The list of enum values for this column.
-
-
type
The type of the column.
-
size
How many decimal places, characters or bytes the column can take.
-
scale
The scale of the column.
-
_default
The default value of the column.
-
useDatabaseDefaultValue
public Boolean useDatabaseDefaultValue
Whether the database default value should be used when saving
this column.
-
primaryKey
Whether this column is a primary key of this column.
-
autoIncrement
Whether this column should be automatically set by whatever
id generation mechanism used for this column.
-
required
Whether this column is required to be not-null.
-
javaName
The field name for the column in the database object.
-
javaType
The type of the field for the column in the database object.
-
domain
The domain reference name to set common settings.
-
inheritanceType
The inheritance method used.
-
_protected
Whether getters and setters for the field in the database object
should be protected instead of public.
-
version
Whether this column is a version column.
-
description
The description of (== comment for) the column.
-
enumType
The name of the enum type for the column. It can be either fully qualified or unqualified.
-
ddlSql
Contains the SQL to define the column.
-
enumConstraintName
public String enumConstraintName
the constraint name for an enum column.
-
generateEnum
Whether to generate an enum constraint for the column
(nb: predefined enums can be defined for which no constraint can be defuned).
-