Package org.hibernate.cfg
Class ClassPropertyHolder
java.lang.Object
org.hibernate.cfg.AbstractPropertyHolder
org.hibernate.cfg.ClassPropertyHolder
- All Implemented Interfaces:
PropertyHolder
-
Field Summary
Fields inherited from class org.hibernate.cfg.AbstractPropertyHolder
parent -
Constructor Summary
ConstructorsConstructorDescriptionClassPropertyHolder(PersistentClass persistentClass, XClass clazzToProcess, Map<String, Join> joins, Mappings mappings, Map<XClass, InheritanceState> inheritanceStatePerClass) ClassPropertyHolder(PersistentClass persistentClass, XClass clazzToProcess, EntityBinder entityBinder, Mappings mappings, Map<XClass, InheritanceState> inheritanceStatePerClass) -
Method Summary
Modifier and TypeMethodDescriptionaddJoin(javax.persistence.JoinTable joinTableAnn, boolean noDelayInPkColumnCreation) voidaddProperty(Property prop, XClass declaringClass) voidaddProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) getTable()booleanbooleanisEntity()booleanReturn true if this component is or is embedded in a @EmbeddedIdMethods inherited from class org.hibernate.cfg.AbstractPropertyHolder
getJoinTable, getMappings, getOverriddenColumn, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, setCurrentProperty, setInIdClass, setParentProperty
-
Constructor Details
-
ClassPropertyHolder
public ClassPropertyHolder(PersistentClass persistentClass, XClass clazzToProcess, Map<String, Join> joins, Mappings mappings, Map<XClass, InheritanceState> inheritanceStatePerClass) -
ClassPropertyHolder
public ClassPropertyHolder(PersistentClass persistentClass, XClass clazzToProcess, EntityBinder entityBinder, Mappings mappings, Map<XClass, InheritanceState> inheritanceStatePerClass)
-
-
Method Details
-
getEntityName
-
addProperty
-
addProperty
-
addJoin
-
getClassName
-
getEntityOwnerClassName
-
getTable
-
isComponent
public boolean isComponent() -
isEntity
public boolean isEntity() -
getPersistentClass
-
getIdentifier
-
isOrWithinEmbeddedId
public boolean isOrWithinEmbeddedId()Description copied from interface:PropertyHolderReturn true if this component is or is embedded in a @EmbeddedId
-