org.hibernate.cfg
Class AbstractPropertyHolder
java.lang.Object
org.hibernate.cfg.AbstractPropertyHolder
- All Implemented Interfaces:
- PropertyHolder
- Direct Known Subclasses:
- ClassPropertyHolder, CollectionPropertyHolder, ComponentPropertyHolder
public abstract class AbstractPropertyHolder
- extends Object
- implements PropertyHolder
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.hibernate.cfg.PropertyHolder |
addJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity |
parent
protected PropertyHolder parent
AbstractPropertyHolder
public AbstractPropertyHolder(String path,
PropertyHolder parent,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
ExtendedMappings mappings)
getPath
public String getPath()
- Specified by:
getPath
in interface PropertyHolder
setCurrentProperty
protected void setCurrentProperty(org.hibernate.annotations.common.reflection.XProperty property)
- property can be null
getOverriddenColumn
public javax.persistence.Column[] getOverriddenColumn(String propertyName)
- Get column overriding, property first, then parent, then holder
- Specified by:
getOverriddenColumn
in interface PropertyHolder
getOverriddenJoinColumn
public javax.persistence.JoinColumn[] getOverriddenJoinColumn(String propertyName)
- Get column overriding, property first, then parent, then holder
- Specified by:
getOverriddenJoinColumn
in interface PropertyHolder
setParentProperty
public void setParentProperty(String parentProperty)
- Specified by:
setParentProperty
in interface PropertyHolder