public abstract class AbstractPropertyHolder extends java.lang.Object implements PropertyHolder
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPropertyHolder |
parent |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
areTypeMatch(java.lang.Class converterDefinedType,
java.lang.Class propertyType) |
protected java.lang.IllegalStateException |
buildExceptionFromInstantiationError(AttributeConversionInfo info,
java.lang.Exception e) |
protected MetadataBuildingContext |
getContext()
Get the mappings
|
javax.persistence.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.
|
javax.persistence.Column[] |
getOverriddenColumn(java.lang.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.
|
javax.persistence.ForeignKey |
getOverriddenForeignKey(java.lang.String propertyName)
return null if hte foreign key is not overridden, or the foreign key if true
|
javax.persistence.JoinColumn[] |
getOverriddenJoinColumn(java.lang.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.
|
javax.persistence.JoinTable |
getOverriddenJoinTable(java.lang.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.
|
java.lang.String |
getPath() |
boolean |
isInIdClass() |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(java.lang.String path) |
protected abstract AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
protected AttributeConverterDescriptor |
makeAttributeConverterDescriptor(AttributeConversionInfo conversion) |
protected abstract java.lang.String |
normalizeCompositePath(java.lang.String attributeName) |
protected abstract java.lang.String |
normalizeCompositePathForLogging(java.lang.String attributeName) |
AttributeConverterDescriptor |
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(java.lang.Boolean isInIdClass) |
void |
setParentProperty(java.lang.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 java.lang.String normalizeCompositePathForLogging(java.lang.String attributeName)
protected abstract java.lang.String normalizeCompositePath(java.lang.String attributeName)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
protected abstract AttributeConversionInfo locateAttributeConversionInfo(java.lang.String path)
public AttributeConverterDescriptor resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolderresolveAttributeConverterDescriptor in interface PropertyHolderprotected java.lang.IllegalStateException buildExceptionFromInstantiationError(AttributeConversionInfo info, java.lang.Exception e)
protected AttributeConverterDescriptor makeAttributeConverterDescriptor(AttributeConversionInfo conversion)
protected boolean areTypeMatch(java.lang.Class converterDefinedType,
java.lang.Class propertyType)
public boolean isInIdClass()
isInIdClass in interface PropertyHolderpublic void setInIdClass(java.lang.Boolean isInIdClass)
setInIdClass in interface PropertyHolderpublic java.lang.String getPath()
getPath in interface PropertyHolderprotected MetadataBuildingContext getContext()
protected void setCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)
property - The propertypublic javax.persistence.Column[] getOverriddenColumn(java.lang.String propertyName)
getOverriddenColumn in interface PropertyHolderpublic javax.persistence.JoinColumn[] getOverriddenJoinColumn(java.lang.String propertyName)
getOverriddenJoinColumn in interface PropertyHolderpublic javax.persistence.ForeignKey getOverriddenForeignKey(java.lang.String propertyName)
PropertyHoldergetOverriddenForeignKey in interface PropertyHolderpublic javax.persistence.JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
getJoinTable in interface PropertyHolderpublic javax.persistence.JoinTable getOverriddenJoinTable(java.lang.String propertyName)
public void setParentProperty(java.lang.String parentProperty)
setParentProperty in interface PropertyHolderCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.