public class Column extends Object
| Modifier and Type | Field and Description | 
|---|---|
| String | _defaultThe default value of the column. | 
| Boolean | _protectedWhether getters and setters for the field in the database object
 should be protected instead of public. | 
| Boolean | autoIncrementWhether this column should be automatically set by whatever
 id generation mechanism used for this column. | 
| String | ddlSqlContains the SQL to define the column. | 
| String | descriptionThe description of (== comment for) the column. | 
| String | domainThe domain reference name to set common settings. | 
| String | enumConstraintNamethe constraint name for an enum column. | 
| String | enumTypeThe name of the enum type for the column. | 
| List<EnumValue> | enumValueListThe list of enum values for this column. | 
| Boolean | generateEnumWhether to generate an enum constraint for the column
 (nb: predefined enums can be defined for which no constraint can be defuned). | 
| List<Inheritance> | inheritanceListThe list of inheritances for this column. | 
| String | inheritanceTypeThe inheritance method used. | 
| String | javaNameThe field name for the column in the database object. | 
| String | javaTypeThe type of the field for the column in the database object. | 
| String | nameThe column's name. | 
| List<Option> | optionListThe list of options for this column. | 
| Table | parentThe table to which the column belongs. | 
| Boolean | primaryKeyWhether this column is a primary key of this column. | 
| Boolean | requiredWhether this column is required to be not-null. | 
| String | scaleThe scale of the column. | 
| String | sizeHow many decimal places, characters or bytes the column can take. | 
| String | typeThe type of the column. | 
| Boolean | useDatabaseDefaultValueWhether the database default value should be used when saving
 this column. | 
| Boolean | versionWhether 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.