public class Column extends Object
Modifier and Type | Field and Description |
---|---|
String |
_default
The default value of the column.
|
Boolean |
_protected
Whether getters and setters for the field in the database object
should be protected instead of public.
|
Boolean |
autoIncrement
Whether this column should be automatically set by whatever
id generation mechanism used for this column.
|
String |
ddlSql
Contains the SQL to define the column.
|
String |
description
The description of (== comment for) the column.
|
String |
domain
The domain reference name to set common settings.
|
String |
enumConstraintName
the constraint name for an enum column.
|
String |
enumType
The name of the enum type for the column.
|
List<EnumValue> |
enumValueList
The list of enum values for this column.
|
Boolean |
generateEnum
Whether to generate an enum constraint for the column
(nb: predefined enums can be defined for which no constraint can be defuned).
|
List<Inheritance> |
inheritanceList
The list of inheritances for this column.
|
String |
inheritanceType
The inheritance method used.
|
String |
javaName
The field name for the column in the database object.
|
String |
javaType
The type of the field for the column in the database object.
|
String |
name
The column's name.
|
List<Option> |
optionList
The list of options for this column.
|
Table |
parent
The table to which the column belongs.
|
Boolean |
primaryKey
Whether this column is a primary key of this column.
|
Boolean |
required
Whether this column is required to be not-null.
|
String |
scale
The scale of the column.
|
String |
size
How many decimal places, characters or bytes the column can take.
|
String |
type
The type of the column.
|
Boolean |
useDatabaseDefaultValue
Whether the database default value should be used when saving
this column.
|
Boolean |
version
Whether this column is a version column.
|
Constructor and Description |
---|
Column() |
public Table parent
public List<Inheritance> inheritanceList
public String name
public String type
public String size
public String scale
public String _default
public Boolean useDatabaseDefaultValue
public Boolean primaryKey
public Boolean autoIncrement
public Boolean required
public String javaName
public String javaType
public String domain
public String inheritanceType
public Boolean _protected
public Boolean version
public String description
public String enumType
public String ddlSql
public String enumConstraintName
public Boolean generateEnum
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.