Package org.hibernate.cfg
Class AbstractPropertyHolder
java.lang.Object
org.hibernate.cfg.AbstractPropertyHolder
- All Implemented Interfaces:
PropertyHolder
- Direct Known Subclasses:
ClassPropertyHolder,CollectionPropertyHolder,ComponentPropertyHolder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess, Mappings mappings) -
Method Summary
Modifier and TypeMethodDescriptiongetJoinTable(XProperty property) Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.protected MappingsgetOverriddenColumn(String propertyName) Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.getOverriddenJoinColumn(String propertyName) Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.getOverriddenJoinTable(String propertyName) Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.getPath()booleanprotected voidsetCurrentProperty(XProperty property) property can be nullvoidsetInIdClass(Boolean isInIdClass) voidsetParentProperty(String parentProperty) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.cfg.PropertyHolder
addJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity, isOrWithinEmbeddedId
-
Field Details
-
parent
-
-
Constructor Details
-
AbstractPropertyHolder
public AbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess, Mappings mappings)
-
-
Method Details
-
isInIdClass
public boolean isInIdClass()- Specified by:
isInIdClassin interfacePropertyHolder
-
setInIdClass
- Specified by:
setInIdClassin interfacePropertyHolder
-
getPath
- Specified by:
getPathin interfacePropertyHolder
-
getMappings
-
setCurrentProperty
property can be null -
getOverriddenColumn
Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.- Specified by:
getOverriddenColumnin interfacePropertyHolder
-
getOverriddenJoinColumn
Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.- Specified by:
getOverriddenJoinColumnin interfacePropertyHolder
-
getJoinTable
Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules.- Specified by:
getJoinTablein interfacePropertyHolder
-
getOverriddenJoinTable
Get column overriding, property first, then parent, then holder replace the placeholder 'collectioninvalid input: '&'invalid input: '&element'' with nothing These rules are here to support both JPA 2 and legacy overriding rules. -
setParentProperty
- Specified by:
setParentPropertyin interfacePropertyHolder
-