| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataBuildingContext | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private Boolean | |
| private static final Logger | |
| protected AbstractPropertyHolder | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess, MetadataBuildingContext context)
|
| Modifier and Type | Method and Description |
|---|---|
| private static AssociationOverride[] | |
| private static Map | |
| private static Map | |
| protected IllegalStateException | |
| private static Map | |
| private void | |
| private static Map | |
| private static Map | |
| private static Column | |
| private static Column | |
| protected MetadataBuildingContext | |
| private Column[] | getExactOverriddenColumn(String propertyName)
Get column overriding, property first, then parent, then holder find the overridden rules from the exact property name. |
| private ForeignKey | |
| private JoinColumn[] | getExactOverriddenJoinColumn(String propertyName)
Get column overriding, property first, then parent, then holder |
| private JoinTable | getExactOverriddenJoinTable(String propertyName)
Get column overriding, property first, then parent, then holder |
| public JoinTable | getJoinTable(XProperty property)
Implements org. |
| public Column[] | getOverriddenColumn(String propertyName)
Implements org. These rules are here to support both JPA 2 and legacy overriding rules. |
| public ColumnTransformer | getOverriddenColumnTransformer(String logicalColumnName)
Implements org. |
| public ForeignKey | getOverriddenForeignKey(String propertyName)
Overrides default org. |
| public JoinColumn[] | getOverriddenJoinColumn(String propertyName)
Implements org. |
| public JoinTable | getOverriddenJoinTable(String propertyName)
Get column overriding, property first, then parent, then holder replace the placeholder 'collection&&element' with nothing These rules are here to support both JPA 2 and legacy overriding rules. |
| public String | |
| public boolean | |
| protected abstract AttributeConversionInfo | |
| protected abstract AttributeConversionInfo | |
| protected ConverterDescriptor | |
| protected abstract String | |
| protected abstract String | |
| public ConverterDescriptor | resolveAttributeConverterDescriptor(XProperty property)
Implements org. |
| protected void | |
| public void | setInIdClass(Boolean isInIdClass)
Implements org. |
| public void | setParentProperty(String parentProperty)
Implements org. |
| context | back to summary |
|---|---|
| private final MetadataBuildingContext context | |
| currentPropertyColumnOverride | back to summary |
|---|---|
| private Map<String, Column[]> currentPropertyColumnOverride | |
| currentPropertyColumnTransformerOverride | back to summary |
|---|---|
| private Map<String, ColumnTransformer> currentPropertyColumnTransformerOverride | |
| currentPropertyForeignKeyOverride | back to summary |
|---|---|
| private Map<String, ForeignKey> currentPropertyForeignKeyOverride | |
| currentPropertyJoinColumnOverride | back to summary |
|---|---|
| private Map<String, JoinColumn[]> currentPropertyJoinColumnOverride | |
| currentPropertyJoinTableOverride | back to summary |
|---|---|
| private Map<String, JoinTable> currentPropertyJoinTableOverride | |
| holderColumnOverride | back to summary |
|---|---|
| private Map<String, Column[]> holderColumnOverride | |
| holderColumnTransformerOverride | back to summary |
|---|---|
| private Map<String, ColumnTransformer> holderColumnTransformerOverride | |
| holderForeignKeyOverride | back to summary |
|---|---|
| private Map<String, ForeignKey> holderForeignKeyOverride | |
| holderJoinColumnOverride | back to summary |
|---|---|
| private Map<String, JoinColumn[]> holderJoinColumnOverride | |
| holderJoinTableOverride | back to summary |
|---|---|
| private Map<String, JoinTable> holderJoinTableOverride | |
| isInIdClass | back to summary |
|---|---|
| private Boolean isInIdClass | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| parent | back to summary |
|---|---|
| protected AbstractPropertyHolder parent | |
| path | back to summary |
|---|---|
| private final String path | |
| AbstractPropertyHolder | back to summary |
|---|---|
| pack-priv AbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess, MetadataBuildingContext context) | |
| buildAssociationOverrides | back to summary |
|---|---|
| private static AssociationOverride[] buildAssociationOverrides(XAnnotatedElement element, String path) | |
| buildColumnOverride | back to summary |
|---|---|
| private static Map | |
| buildColumnTransformerOverride | back to summary |
|---|---|
| private static Map | |
| buildExceptionFromInstantiationError | back to summary |
|---|---|
| protected IllegalStateException buildExceptionFromInstantiationError(AttributeConversionInfo info, Exception e) | |
| buildForeignKeyOverride | back to summary |
|---|---|
| private static Map | |
| buildHierarchyColumnOverride | back to summary |
|---|---|
| private void buildHierarchyColumnOverride(XClass element) | |
| buildJoinColumnOverride | back to summary |
|---|---|
| private static Map | |
| buildJoinTableOverride | back to summary |
|---|---|
| private static Map | |
| createTemporalColumn | back to summary |
|---|---|
| private static Column createTemporalColumn(XAnnotatedElement element, String path, MetadataBuildingContext context) | |
| createTimeZoneColumn | back to summary |
|---|---|
| private static Column createTimeZoneColumn(XAnnotatedElement element, Column column) | |
| getContext | back to summary |
|---|---|
| protected MetadataBuildingContext getContext() Get the mappings
| |
| getExactOverriddenColumn | back to summary |
|---|---|
| private Column[] getExactOverriddenColumn(String propertyName) Get column overriding, property first, then parent, then holder find the overridden rules from the exact property name. | |
| getExactOverriddenForeignKey | back to summary |
|---|---|
| private ForeignKey getExactOverriddenForeignKey(String propertyName) | |
| getExactOverriddenJoinColumn | back to summary |
|---|---|
| private JoinColumn[] getExactOverriddenJoinColumn(String propertyName) Get column overriding, property first, then parent, then holder | |
| getExactOverriddenJoinTable | back to summary |
|---|---|
| private JoinTable getExactOverriddenJoinTable(String propertyName) Get column overriding, property first, then parent, then holder | |
| getJoinTable | back to summary |
|---|---|
| public JoinTable getJoinTable(XProperty property) Implements org. Get column overriding, property first, then parent, then holder replace the placeholder 'collection&&element' with nothing These rules are here to support both JPA 2 and legacy overriding rules.
| |
| getOverriddenColumn | back to summary |
|---|---|
| public Column[] getOverriddenColumn(String propertyName) Implements org. Get column overriding, property first, then parent, then holder replace the placeholder 'collection&&element' with nothing These rules are here to support both JPA 2 and legacy overriding rules.
| |
| getOverriddenColumnTransformer | back to summary |
|---|---|
| public ColumnTransformer getOverriddenColumnTransformer(String logicalColumnName) Implements org.
| |
| getOverriddenForeignKey | back to summary |
|---|---|
| public ForeignKey getOverriddenForeignKey(String propertyName) Overrides default org. Doc from org. return null if hte foreign key is not overridden, or the foreign key if true
| |
| getOverriddenJoinColumn | back to summary |
|---|---|
| public JoinColumn[] getOverriddenJoinColumn(String propertyName) Implements org. Get column overriding, property first, then parent, then holder replace the placeholder 'collection&&element' with nothing These rules are here to support both JPA 2 and legacy overriding rules.
| |
| getOverriddenJoinTable | back to summary |
|---|---|
| public JoinTable getOverriddenJoinTable(String propertyName) Get column overriding, property first, then parent, then holder replace the placeholder 'collection&&element' with nothing These rules are here to support both JPA 2 and legacy overriding rules. | |
| getPath | back to summary |
|---|---|
| public String getPath() Implements org.
| |
| isInIdClass | back to summary |
|---|---|
| public boolean isInIdClass() Implements org.
| |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected abstract AttributeConversionInfo locateAttributeConversionInfo(XProperty property) | |
| locateAttributeConversionInfo | back to summary |
|---|---|
| protected abstract AttributeConversionInfo locateAttributeConversionInfo(String path) | |
| makeAttributeConverterDescriptor | back to summary |
|---|---|
| protected ConverterDescriptor makeAttributeConverterDescriptor(AttributeConversionInfo conversion) | |
| normalizeCompositePath | back to summary |
|---|---|
| protected abstract String normalizeCompositePath(String attributeName) | |
| normalizeCompositePathForLogging | back to summary |
|---|---|
| protected abstract String normalizeCompositePathForLogging(String attributeName) | |
| resolveAttributeConverterDescriptor | back to summary |
|---|---|
| public ConverterDescriptor resolveAttributeConverterDescriptor(XProperty property) Implements org. Doc from org. Determine the AttributeConverter to use for the given property.
| |
| setCurrentProperty | back to summary |
|---|---|
| protected void setCurrentProperty(XProperty property) Set the property to be processed. property can be null
| |
| setInIdClass | back to summary |
|---|---|
| public void setInIdClass(Boolean isInIdClass) Implements org.
| |
| setParentProperty | back to summary |
|---|---|
| public void setParentProperty(String parentProperty) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final boolean | |
| private final String | |
| private final boolean | |
| private final int | |
| private final String | |
| private final boolean | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | ColumnImpl(String name, boolean unique, boolean nullable, boolean insertable, boolean updatable, String columnDefinition, String table, int precision)
|
| Modifier and Type | Method and Description |
|---|---|
| public Class | annotationType()
Implements java. |
| public String | columnDefinition()
Implements jakarta. |
| public boolean | insertable()
Implements jakarta. |
| public int | |
| public String | |
| public boolean | nullable()
Implements jakarta. |
| public int | precision()
Implements jakarta. |
| public int | scale()
Implements jakarta. |
| public String | table()
Implements jakarta. |
| public boolean | unique()
Implements jakarta. |
| public boolean | updatable()
Implements jakarta. |
| columnDefinition | back to summary |
|---|---|
| private final String columnDefinition | |
| insertable | back to summary |
|---|---|
| private final boolean insertable | |
| name | back to summary |
|---|---|
| private final String name | |
| nullable | back to summary |
|---|---|
| private final boolean nullable | |
| precision | back to summary |
|---|---|
| private final int precision | |
| table | back to summary |
|---|---|
| private final String table | |
| unique | back to summary |
|---|---|
| private final boolean unique | |
| updatable | back to summary |
|---|---|
| private final boolean updatable | |
| ColumnImpl | back to summary |
|---|---|
| private ColumnImpl(String name, boolean unique, boolean nullable, boolean insertable, boolean updatable, String columnDefinition, String table, int precision) | |
| annotationType | back to summary |
|---|---|
| public Class Implements java. Doc from java. Returns the annotation interface of this annotation.
| |
| columnDefinition | back to summary |
|---|---|
| public String columnDefinition() Implements jakarta. Doc from jakarta. (Optional) The SQL fragment that is used when generating the DDL for the column. Defaults to the generated SQL to create a column of the inferred type.
| |
| insertable | back to summary |
|---|---|
| public boolean insertable() Implements jakarta. Doc from jakarta. (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider.
| |
| length | back to summary |
|---|---|
| public int length() Implements jakarta. Doc from jakarta. (Optional) The column length. (Applies only if a string-valued column is used.)
| |
| name | back to summary |
|---|---|
| public String name() Implements jakarta. Doc from jakarta. (Optional) The name of the column. Defaults to the property or field name.
| |
| nullable | back to summary |
|---|---|
| public boolean nullable() Implements jakarta. Doc from jakarta. (Optional) Whether the database column is nullable.
| |
| precision | back to summary |
|---|---|
| public int precision() Implements jakarta. Doc from jakarta. (Optional) The precision for a decimal (exact numeric) column. (Applies only if a decimal column is used.) Value must be set by developer if used when generating the DDL for the column.
| |
| scale | back to summary |
|---|---|
| public int scale() Implements jakarta. Doc from jakarta. (Optional) The scale for a decimal (exact numeric) column. (Applies only if a decimal column is used.)
| |
| table | back to summary |
|---|---|
| public String table() Implements jakarta. Doc from jakarta. (Optional) The name of the table that contains the column. If absent the column is assumed to be in the primary table.
| |
| unique | back to summary |
|---|---|
| public boolean unique() Implements jakarta. Doc from jakarta. (Optional) Whether the column is a unique key. This is a
shortcut for the
| |
| updatable | back to summary |
|---|---|
| public boolean updatable() Implements jakarta. Doc from jakarta. (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider.
| |