public class ClassPropertyHolder extends AbstractPropertyHolder
parent
Constructor and Description |
---|
ClassPropertyHolder(PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass entityXClass,
EntityBinder entityBinder,
MetadataBuildingContext context,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
ClassPropertyHolder(PersistentClass persistentClass,
org.hibernate.annotations.common.reflection.XClass entityXClass,
Map<String,Join> joins,
MetadataBuildingContext context,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass) |
Modifier and Type | Method and Description |
---|---|
Join |
addJoin(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 Map<String,AttributeConversionInfo> |
buildAttributeConversionInfoMap(org.hibernate.annotations.common.reflection.XClass entityXClass) |
String |
getClassName() |
String |
getEntityName() |
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
|
protected AttributeConversionInfo |
locateAttributeConversionInfo(String path) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
protected String |
normalizeCompositePath(String attributeName) |
protected String |
normalizeCompositePathForLogging(String attributeName) |
void |
startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties.
|
String |
toString() |
areTypeMatch, getContext, getJoinTable, getOverriddenColumn, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, makeAttributeConverterDefinition, resolveAttributeConverterDefinition, setCurrentProperty, setInIdClass, setParentProperty
public ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, Map<String,Join> joins, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
public ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
protected String normalizeCompositePath(String attributeName)
normalizeCompositePath
in class AbstractPropertyHolder
protected String normalizeCompositePathForLogging(String attributeName)
normalizeCompositePathForLogging
in class AbstractPropertyHolder
protected Map<String,AttributeConversionInfo> buildAttributeConversionInfoMap(org.hibernate.annotations.common.reflection.XClass entityXClass)
public void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolder
property
- The propertyprotected AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
locateAttributeConversionInfo
in class AbstractPropertyHolder
protected AttributeConversionInfo locateAttributeConversionInfo(String path)
locateAttributeConversionInfo
in class AbstractPropertyHolder
public 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 String getClassName()
public String getEntityOwnerClassName()
public Table getTable()
public boolean isComponent()
public boolean isEntity()
public PersistentClass getPersistentClass()
public KeyValue getIdentifier()
public boolean isOrWithinEmbeddedId()
PropertyHolder
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.