org.hibernate.cfg
Class CollectionPropertyHolder

java.lang.Object
  extended by org.hibernate.cfg.CollectionPropertyHolder
All Implemented Interfaces:
PropertyHolder

public class CollectionPropertyHolder
extends Object
implements PropertyHolder

Author:
Emmanuel Bernard

Constructor Summary
CollectionPropertyHolder(org.hibernate.mapping.Collection collection, String path)
           
 
Method Summary
 void addProperty(org.hibernate.mapping.Property prop)
           
 void addProperty(org.hibernate.mapping.Property prop, Ejb3Column[] columns)
           
 String getClassName()
           
 String getEntityName()
           
 org.hibernate.mapping.KeyValue getIdentifier()
           
 javax.persistence.Column[] getOverriddenColumn(String propertyName)
          return null if the column is not overridden, or an array of column if true
 String getPath()
           
 org.hibernate.mapping.PersistentClass getPersistentClass()
           
 org.hibernate.mapping.Table getTable()
           
 boolean isComponent()
           
 Map<String,javax.persistence.Column[]> mergeOverridenColumns(Map<String,javax.persistence.Column[]> localColumnOverride)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionPropertyHolder

public CollectionPropertyHolder(org.hibernate.mapping.Collection collection,
                                String path)
Method Detail

getClassName

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

getTable

public org.hibernate.mapping.Table getTable()
Specified by:
getTable in interface PropertyHolder

addProperty

public void addProperty(org.hibernate.mapping.Property prop)
Specified by:
addProperty in interface PropertyHolder

getIdentifier

public org.hibernate.mapping.KeyValue getIdentifier()
Specified by:
getIdentifier in interface PropertyHolder

getPersistentClass

public org.hibernate.mapping.PersistentClass getPersistentClass()
Specified by:
getPersistentClass in interface PropertyHolder

isComponent

public boolean isComponent()
Specified by:
isComponent in interface PropertyHolder

getPath

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

getOverriddenColumn

public javax.persistence.Column[] getOverriddenColumn(String propertyName)
Description copied from interface: PropertyHolder
return null if the column is not overridden, or an array of column if true

Specified by:
getOverriddenColumn in interface PropertyHolder

mergeOverridenColumns

public Map<String,javax.persistence.Column[]> mergeOverridenColumns(Map<String,javax.persistence.Column[]> localColumnOverride)
Specified by:
mergeOverridenColumns in interface PropertyHolder

getEntityName

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

addProperty

public void addProperty(org.hibernate.mapping.Property prop,
                        Ejb3Column[] columns)
Specified by:
addProperty in interface PropertyHolder