jakarta.persistence.Column annotation, but not
every instance corresponds to an explicit annotation in
the Java code.
This class holds a representation that is intermediate
between the annotation of the Java source code, and the
mapping model object Column. It's used only by
the AnnotationBinder while parsing annotations,
and does not survive into later stages of the startup
process.
| Modifier and Type | Field and Description |
|---|---|
| private Integer | |
| private final List | |
| private String | |
| private String | |
| private Formula | |
| private String | |
| private String | |
| private boolean | |
| private boolean | |
| private Long | |
| private static final CoreMessageLogger | |
| private String | |
| private Column | |
| private boolean | |
| private AnnotatedColumns | |
| private Integer | |
| private String | |
| private Integer | |
| public String | |
| private boolean | |
| private boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | |
| public void | |
| pack-priv void | |
| pack-priv void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public void | |
| private static AnnotatedColumn | buildColumn(PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, AnnotatedColumns parent, int numberOfColumns, Database database, Column column, String sqlType, String tableName)
|
| public static AnnotatedColumns | buildColumnFromAnnotation(Column column, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| public static AnnotatedColumns | buildColumnFromNoAnnotation(Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| public static AnnotatedColumns | buildColumnOrFormulaFromAnnotation(Column column, Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| public static AnnotatedColumns | buildColumnsFromAnnotations(Column[] columns, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| public static AnnotatedColumns | buildColumnsFromAnnotations(Column[] columns, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| public static AnnotatedColumns | buildColumnsOrFormulaFromAnnotation(Column[] columns, Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| private static AnnotatedColumns | buildExplicitColumns(PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context, Column[] actualCols)
|
| public static AnnotatedColumns | buildFormulaFromAnnotation(Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context)
|
| private static AnnotatedColumns | buildImplicitColumn(PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, PropertyHolder propertyHolder, Nullability nullability, MetadataBuildingContext context)
|
| private void | |
| public void | |
| public Integer | |
| pack-priv MetadataBuildingContext | |
| private static String | |
| public String | |
| public String | |
| public String | |
| public Long | |
| public String | |
| public Column | |
| public String | |
| public AnnotatedColumns | |
| public Integer | |
| public Integer | |
| public String | |
| private static String | |
| private static String | |
| private void | |
| private String | |
| protected void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| private static String | logicalColumnName(PropertyData inferredData, String suffixForDefaultColumnName, Database database, Column column)
|
| private static Column[] | |
| private String | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| arrayLength | back to summary |
|---|---|
| private Integer arrayLength | |
| checkConstraints | back to summary |
|---|---|
| private final List<CheckConstraint> checkConstraints | |
| defaultValue | back to summary |
|---|---|
| private String defaultValue | |
| explicitTableName | back to summary |
|---|---|
| private String explicitTableName | |
| formula | back to summary |
|---|---|
| private Formula formula | |
| formulaString | back to summary |
|---|---|
| private String formulaString | |
| generatedAs | back to summary |
|---|---|
| private String generatedAs | |
| insertable | back to summary |
|---|---|
| private boolean insertable | |
| isImplicit | back to summary |
|---|---|
| private boolean isImplicit | |
| length | back to summary |
|---|---|
| private Long length | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| logicalColumnName | back to summary |
|---|---|
| private String logicalColumnName | |
| mappingColumn | back to summary |
|---|---|
| private Column mappingColumn | |
| nullable | back to summary |
|---|---|
| private boolean nullable | |
| parent | back to summary |
|---|---|
| private AnnotatedColumns parent | |
| precision | back to summary |
|---|---|
| private Integer precision | |
| readExpression | back to summary |
|---|---|
| private String readExpression | |
| scale | back to summary |
|---|---|
| private Integer scale | |
| sqlType | back to summary |
|---|---|
| public String sqlType | |
| unique | back to summary |
|---|---|
| private boolean unique | |
| updatable | back to summary |
|---|---|
| private boolean updatable | |
| writeExpression | back to summary |
|---|---|
| private String writeExpression | |
| AnnotatedColumn | back to summary |
|---|---|
| public AnnotatedColumn() | |
| addCheckConstraint | back to summary |
|---|---|
| public void addCheckConstraint(String name, String constraint) | |
| addColumnBinding | back to summary |
|---|---|
| protected void addColumnBinding(SimpleValue value) | |
| addIndex | back to summary |
|---|---|
| public void addIndex(Index index, boolean inSecondPass)
Deprecated as a consequence of | |
| addIndex | back to summary |
|---|---|
| pack-priv void addIndex(String indexName, boolean inSecondPass) | |
| addUniqueKey | back to summary |
|---|---|
| pack-priv void addUniqueKey(String uniqueKeyName, boolean inSecondPass) | |
| applyCheckConstraint | back to summary |
|---|---|
| private void applyCheckConstraint(PropertyData inferredData, int length) | |
| applyColumnDefault | back to summary |
|---|---|
| pack-priv void applyColumnDefault(PropertyData inferredData, int length) | |
| applyGeneratedAs | back to summary |
|---|---|
| pack-priv void applyGeneratedAs(PropertyData inferredData, int length) | |
| bind | back to summary |
|---|---|
| public void bind() | |
| buildColumn | back to summary |
|---|---|
| private static AnnotatedColumn buildColumn(PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, AnnotatedColumns parent, int numberOfColumns, Database database, Column column, String sqlType, String tableName) | |
| buildColumnFromAnnotation | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnFromAnnotation(Column column, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildColumnFromNoAnnotation | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnFromNoAnnotation(Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildColumnOrFormulaFromAnnotation | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnOrFormulaFromAnnotation(Column column, Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildColumnsFromAnnotations | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnsFromAnnotations(Column[] columns, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildColumnsFromAnnotations | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnsFromAnnotations(Column[] columns, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildColumnsOrFormulaFromAnnotation | back to summary |
|---|---|
| public static AnnotatedColumns buildColumnsOrFormulaFromAnnotation(Column[] columns, Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildExplicitColumns | back to summary |
|---|---|
| private static AnnotatedColumns buildExplicitColumns(PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context, Column[] actualCols) | |
| buildFormulaFromAnnotation | back to summary |
|---|---|
| public static AnnotatedColumns buildFormulaFromAnnotation(Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) | |
| buildImplicitColumn | back to summary |
|---|---|
| private static AnnotatedColumns buildImplicitColumn(PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, PropertyHolder propertyHolder, Nullability nullability, MetadataBuildingContext context) | |
| extractDataFromPropertyData | back to summary |
|---|---|
| private void extractDataFromPropertyData(PropertyHolder propertyHolder, PropertyData inferredData) | |
| forceNotNull | back to summary |
|---|---|
| public void forceNotNull() | |
| getArrayLength | back to summary |
|---|---|
| public Integer getArrayLength() | |
| getBuildingContext | back to summary |
|---|---|
| pack-priv MetadataBuildingContext getBuildingContext() | |
| getColumnName | back to summary |
|---|---|
| private static String getColumnName(Database database, Column column) | |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() | |
| getExplicitTableName | back to summary |
|---|---|
| public String getExplicitTableName() | |
| getGeneratedAs | back to summary |
|---|---|
| public String getGeneratedAs() | |
| getLength | back to summary |
|---|---|
| public Long getLength() | |
| getLogicalColumnName | back to summary |
|---|---|
| public String getLogicalColumnName() | |
| getMappingColumn | back to summary |
|---|---|
| public Column getMappingColumn() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getParent | back to summary |
|---|---|
| public AnnotatedColumns getParent() | |
| getPrecision | back to summary |
|---|---|
| public Integer getPrecision() | |
| getScale | back to summary |
|---|---|
| public Integer getScale() | |
| getSqlType | back to summary |
|---|---|
| public String getSqlType() | |
| getSqlType | back to summary |
|---|---|
| private static String getSqlType(MetadataBuildingContext context, Column column) | |
| getTableName | back to summary |
|---|---|
| private static String getTableName(Column column, Database database) | |
| handleArrayLength | back to summary |
|---|---|
| private void handleArrayLength(PropertyData inferredData) | |
| inferColumnName | back to summary |
|---|---|
| private String inferColumnName(String propertyName) | |
| initMappingColumn | back to summary |
|---|---|
| protected void initMappingColumn(String columnName, String propertyName, Long length, Integer precision, Integer scale, Integer arrayLength, boolean nullable, String sqlType, boolean unique, boolean applyNamingStrategy) | |
| isFormula | back to summary |
|---|---|
| public boolean isFormula() | |
| isImplicit | back to summary |
|---|---|
| public boolean isImplicit() | |
| isInsertable | back to summary |
|---|---|
| public boolean isInsertable() | |
| isNameDeferred | back to summary |
|---|---|
| public boolean isNameDeferred() | |
| isNullable | back to summary |
|---|---|
| public boolean isNullable() | |
| isUnique | back to summary |
|---|---|
| public boolean isUnique() | |
| isUpdatable | back to summary |
|---|---|
| public boolean isUpdatable() | |
| linkWithAggregateValue | back to summary |
|---|---|
| public void linkWithAggregateValue(SimpleValue value, Component component) | |
| linkWithValue | back to summary |
|---|---|
| public void linkWithValue(SimpleValue value) | |
| logicalColumnName | back to summary |
|---|---|
| private static String logicalColumnName(PropertyData inferredData, String suffixForDefaultColumnName, Database database, Column column) | |
| overrideColumns | back to summary |
|---|---|
| private static Column[] overrideColumns(Column[] columns, PropertyHolder propertyHolder, PropertyData inferredData) | |
| processColumnName | back to summary |
|---|---|
| private String processColumnName(String columnName, boolean applyNamingStrategy) | |
| processColumnTransformerExpressions | back to summary |
|---|---|
| private void processColumnTransformerExpressions(ColumnTransformer annotation) | |
| redefineColumnName | back to summary |
|---|---|
| public void redefineColumnName(String columnName, String propertyName, boolean applyNamingStrategy) | |
| setArrayLength | back to summary |
|---|---|
| public void setArrayLength(Integer arrayLength) | |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String defaultValue) | |
| setExplicitTableName | back to summary |
|---|---|
| public void setExplicitTableName(String explicitTableName) | |
| setFormula | back to summary |
|---|---|
| public void setFormula(String formula) | |
| setGeneratedAs | back to summary |
|---|---|
| private void setGeneratedAs(String as) | |
| setImplicit | back to summary |
|---|---|
| public void setImplicit(boolean implicit) | |
| setInsertable | back to summary |
|---|---|
| public void setInsertable(boolean insertable) | |
| setLength | back to summary |
|---|---|
| public void setLength(Long length) | |
| setLogicalColumnName | back to summary |
|---|---|
| public void setLogicalColumnName(String logicalColumnName) | |
| setMappingColumn | back to summary |
|---|---|
| protected void setMappingColumn(Column mappingColumn) | |
| setNullable | back to summary |
|---|---|
| public void setNullable(boolean nullable) | |
| setParent | back to summary |
|---|---|
| public void setParent(AnnotatedColumns parent) | |
| setPrecision | back to summary |
|---|---|
| public void setPrecision(Integer precision) | |
| setScale | back to summary |
|---|---|
| public void setScale(Integer scale) | |
| setSqlType | back to summary |
|---|---|
| public void setSqlType(String sqlType) | |
| setUnique | back to summary |
|---|---|
| public void setUnique(boolean unique) | |
| setUpdatable | back to summary |
|---|---|
| public void setUpdatable(boolean updatable) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |