org.hibernate.cfg
Class AbstractPropertyHolder

java.lang.Object
  extended by 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

Constructor Summary
AbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess)
           
 
Method Summary
 javax.persistence.Column[] getOverriddenColumn(String propertyName)
          Get column overriding, property first, then parent, then holder
 javax.persistence.JoinColumn[] getOverriddenJoinColumn(String propertyName)
          Get column overriding, property first, then parent, then holder
 String getPath()
           
protected  void setCurrentProperty(XProperty property)
          property can be null
 
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
addProperty, addProperty, getClassName, getEntityName, getIdentifier, getPersistentClass, getTable, isComponent
 

Constructor Detail

AbstractPropertyHolder

public AbstractPropertyHolder(String path,
                              PropertyHolder parent,
                              XClass clazzToProcess)
Method Detail

getPath

public String getPath()
Specified by:
getPath in interface PropertyHolder

setCurrentProperty

protected void setCurrentProperty(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