public class ClassPropertyHolder extends AbstractPropertyHolder
parent| Constructor and Description |
|---|
ClassPropertyHolder(PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass entityXClass,
EntityBinder entityBinder,
MetadataBuildingContext context,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
ClassPropertyHolder(PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass entityXClass,
java.util.Map<java.lang.String,Join> joins,
MetadataBuildingContext context,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
| Modifier and Type | Method and Description |
|---|---|
Join |
addJoin(javax.persistence.JoinTable joinTableAnn,
boolean noDelayInPkColumnCreation) |
void |
addProperty(Property prop,
Ejb3Column[] columns,
org.hibernate.annotations.common.reflection.XClass declaringClass) |
void |
addProperty(Property prop,
org.hibernate.annotations.common.reflection.XClass declaringClass) |
protected java.util.Map<java.lang.String,AttributeConversionInfo> |
buildAttributeConversionInfoMap(org.hibernate.annotations.common.reflection.XClass entityXClass) |
java.lang.String |
getClassName() |
java.lang.String |
getEntityName() |
java.lang.String |
getEntityOwnerClassName() |
KeyValue |
getIdentifier() |
PersistentClass |
getPersistentClass() |
Table |
getTable() |
boolean |
isComponent() |
boolean |
isEntity() |
boolean |
isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId
|
boolean |
isWithinElementCollection()
Return true if this component is withing an @ElementCollection.
|
protected AttributeConversionInfo |
locateAttributeConversionInfo(java.lang.String path) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
protected java.lang.String |
normalizeCompositePath(java.lang.String attributeName) |
protected java.lang.String |
normalizeCompositePathForLogging(java.lang.String attributeName) |
void |
startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties.
|
java.lang.String |
toString() |
areTypeMatch, buildExceptionFromInstantiationError, getContext, getJoinTable, getOverriddenColumn, getOverriddenForeignKey, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, makeAttributeConverterDescriptor, resolveAttributeConverterDescriptor, setCurrentProperty, setInIdClass, setParentPropertypublic ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, java.util.Map<java.lang.String,Join> joins, MetadataBuildingContext context, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
public ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
protected java.lang.String normalizeCompositePath(java.lang.String attributeName)
normalizeCompositePath in class AbstractPropertyHolderprotected java.lang.String normalizeCompositePathForLogging(java.lang.String attributeName)
normalizeCompositePathForLogging in class AbstractPropertyHolderprotected java.util.Map<java.lang.String,AttributeConversionInfo> buildAttributeConversionInfoMap(org.hibernate.annotations.common.reflection.XClass entityXClass)
public void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolderproperty - The propertyprotected AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
locateAttributeConversionInfo in class AbstractPropertyHolderprotected AttributeConversionInfo locateAttributeConversionInfo(java.lang.String path)
locateAttributeConversionInfo in class AbstractPropertyHolderpublic java.lang.String getEntityName()
public void addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)
public void addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)
public Join addJoin(javax.persistence.JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
public java.lang.String getClassName()
public java.lang.String getEntityOwnerClassName()
public Table getTable()
public boolean isComponent()
public boolean isEntity()
public PersistentClass getPersistentClass()
public KeyValue getIdentifier()
public boolean isOrWithinEmbeddedId()
PropertyHolderpublic boolean isWithinElementCollection()
PropertyHolderpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.