类 AbstractPropertyHolder
- java.lang.Object
-
- org.hibernate.cfg.AbstractPropertyHolder
-
- 所有已实现的接口:
PropertyHolder
public abstract class AbstractPropertyHolder extends Object implements PropertyHolder
No idea.- 作者:
- Emmanuel Bernard
-
-
字段概要
字段 修饰符和类型 字段 说明 protected AbstractPropertyHolderparent
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected IllegalStateExceptionbuildExceptionFromInstantiationError(AttributeConversionInfo info, Exception e)protected MetadataBuildingContextgetContext()Get the mappingsjavax.persistence.JoinTablegetJoinTable(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(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.ForeignKeygetOverriddenForeignKey(String propertyName)return null if hte foreign key is not overridden, or the foreign key if truejavax.persistence.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.javax.persistence.JoinTablegetOverriddenJoinTable(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.StringgetPath()booleanisInIdClass()protected abstract AttributeConversionInfolocateAttributeConversionInfo(String path)protected abstract AttributeConversionInfolocateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)protected ConverterDescriptormakeAttributeConverterDescriptor(AttributeConversionInfo conversion)protected abstract StringnormalizeCompositePath(String attributeName)protected abstract StringnormalizeCompositePathForLogging(String attributeName)ConverterDescriptorresolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)Determine the AttributeConverter to use for the given property.protected voidsetCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)Set the property to be processed.voidsetInIdClass(Boolean isInIdClass)voidsetParentProperty(String parentProperty)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.cfg.PropertyHolder
addJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity, isOrWithinEmbeddedId, isWithinElementCollection, startingProperty
-
-
-
-
字段详细资料
-
parent
protected AbstractPropertyHolder parent
-
-
方法详细资料
-
normalizeCompositePathForLogging
protected abstract String normalizeCompositePathForLogging(String attributeName)
-
locateAttributeConversionInfo
protected abstract AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
-
locateAttributeConversionInfo
protected abstract AttributeConversionInfo locateAttributeConversionInfo(String path)
-
resolveAttributeConverterDescriptor
public ConverterDescriptor resolveAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty property)
从接口复制的说明:PropertyHolderDetermine the AttributeConverter to use for the given property.- 指定者:
resolveAttributeConverterDescriptor在接口中PropertyHolder- 返回:
- The ConverterDescriptor
-
buildExceptionFromInstantiationError
protected IllegalStateException buildExceptionFromInstantiationError(AttributeConversionInfo info, Exception e)
-
makeAttributeConverterDescriptor
protected ConverterDescriptor makeAttributeConverterDescriptor(AttributeConversionInfo conversion)
-
isInIdClass
public boolean isInIdClass()
- 指定者:
isInIdClass在接口中PropertyHolder
-
setInIdClass
public void setInIdClass(Boolean isInIdClass)
- 指定者:
setInIdClass在接口中PropertyHolder
-
getPath
public String getPath()
- 指定者:
getPath在接口中PropertyHolder
-
getContext
protected MetadataBuildingContext getContext()
Get the mappings- 返回:
- The mappings
-
setCurrentProperty
protected void setCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)
Set the property to be processed. property can be null- 参数:
property- The property
-
getOverriddenColumn
public javax.persistence.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在接口中PropertyHolder
-
getOverriddenJoinColumn
public javax.persistence.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在接口中PropertyHolder
-
getOverriddenForeignKey
public javax.persistence.ForeignKey getOverriddenForeignKey(String propertyName)
从接口复制的说明:PropertyHolderreturn null if hte foreign key is not overridden, or the foreign key if true- 指定者:
getOverriddenForeignKey在接口中PropertyHolder
-
getJoinTable
public 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.- 指定者:
getJoinTable在接口中PropertyHolder
-
getOverriddenJoinTable
public javax.persistence.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.
-
setParentProperty
public void setParentProperty(String parentProperty)
- 指定者:
setParentProperty在接口中PropertyHolder
-
-