Package org.hibernate.cfg
Class ComponentPropertyHolder
java.lang.Object
org.hibernate.cfg.AbstractPropertyHolder
org.hibernate.cfg.ComponentPropertyHolder
- All Implemented Interfaces:
PropertyHolder
Component implementation of property holder
-
Field Summary
Fields inherited from class org.hibernate.cfg.AbstractPropertyHolder
parent -
Constructor Summary
ConstructorsConstructorDescriptionComponentPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, Mappings mappings) -
Method Summary
Modifier and TypeMethodDescriptionaddJoin(javax.persistence.JoinTable joinTableAnn, boolean noDelayInPkColumnCreation) voidaddProperty(Property prop, XClass declaringClass) voidaddProperty(Property prop, Ejb3Column[] columns, XClass declaringClass) getOverriddenColumn(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.getTable()booleanbooleanisEntity()booleanReturn true if this component is or is embedded in a @EmbeddedIdvoidsetParentProperty(String parentProperty) Methods inherited from class org.hibernate.cfg.AbstractPropertyHolder
getJoinTable, getMappings, getOverriddenJoinTable, getPath, isInIdClass, setCurrentProperty, setInIdClass
-
Constructor Details
-
ComponentPropertyHolder
public ComponentPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, Mappings mappings)
-
-
Method Details
-
getEntityName
-
addProperty
-
addJoin
-
getClassName
-
getEntityOwnerClassName
-
getTable
-
addProperty
-
getIdentifier
-
isOrWithinEmbeddedId
public boolean isOrWithinEmbeddedId()Description copied from interface:PropertyHolderReturn true if this component is or is embedded in a @EmbeddedId -
getPersistentClass
-
isComponent
public boolean isComponent() -
isEntity
public boolean isEntity() -
setParentProperty
- Specified by:
setParentPropertyin interfacePropertyHolder- Overrides:
setParentPropertyin classAbstractPropertyHolder
-
getOverriddenColumn
Description copied from class:AbstractPropertyHolderGet 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- Overrides:
getOverriddenColumnin classAbstractPropertyHolder
-
getOverriddenJoinColumn
Description copied from class:AbstractPropertyHolderGet 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- Overrides:
getOverriddenJoinColumnin classAbstractPropertyHolder
-