public abstract class AbstractPropertyHolder extends Object implements PropertyHolder
No idea.
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPropertyHolder |
parent |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalStateException |
buildExceptionFromInstantiationError(AttributeConversionInfo info,
Exception e) |
protected MetadataBuildingContext |
getContext()
Get the mappings
|
JoinTable |
getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
|
Column[] |
getOverriddenColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
|
ForeignKey |
getOverriddenForeignKey(String propertyName)
return null if hte foreign key is not overridden, or the foreign key if true
|
JoinColumn[] |
getOverriddenJoinColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
|
JoinTable |
getOverriddenJoinTable(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
|
String |
getPath() |
boolean |
isInIdClass() |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(String path) |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
protected ConverterDescriptor |
makeAttributeConverterDescriptor(AttributeConversionInfo conversion) |
protected abstract String |
normalizeCompositePath(String attributeName) |
protected abstract String |
normalizeCompositePathForLogging(String attributeName) |
ConverterDescriptor |
resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
Determine the AttributeConverter to use for the given property.
|
protected void |
setCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)
Set the property be processed.
|
void |
setInIdClass(Boolean isInIdClass) |
void |
setParentProperty(String parentProperty) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity, isOrWithinEmbeddedId, isWithinElementCollection, startingPropertyprotected AbstractPropertyHolder parent
protected abstract String normalizeCompositePathForLogging(String attributeName)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(String path)
public ConverterDescriptor resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolderDetermine the AttributeConverter to use for the given property.
resolveAttributeConverterDescriptor in interface PropertyHolderprotected IllegalStateException buildExceptionFromInstantiationError(AttributeConversionInfo info, Exception e)
protected ConverterDescriptor makeAttributeConverterDescriptor(AttributeConversionInfo conversion)
public boolean isInIdClass()
isInIdClass in interface PropertyHolderpublic void setInIdClass(Boolean isInIdClass)
setInIdClass in interface PropertyHolderpublic String getPath()
getPath in interface PropertyHolderprotected MetadataBuildingContext getContext()
Get the mappings
protected void setCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)
Set the property be processed. property can be null
property - The propertypublic Column[] getOverriddenColumn(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.
getOverriddenColumn in interface PropertyHolderpublic JoinColumn[] getOverriddenJoinColumn(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.
getOverriddenJoinColumn in interface PropertyHolderpublic ForeignKey getOverriddenForeignKey(String propertyName)
PropertyHolderreturn null if hte foreign key is not overridden, or the foreign key if true
getOverriddenForeignKey in interface PropertyHolderpublic JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
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.
getJoinTable in interface PropertyHolderpublic 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 void setParentProperty(String parentProperty)
setParentProperty in interface PropertyHolderCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.