org.hibernate.cfg
Interface PropertyHolder

All Known Implementing Classes:
AbstractPropertyHolder, ClassPropertyHolder, CollectionPropertyHolder, ComponentPropertyHolder

public interface PropertyHolder

Property holder abstract property containers from their direct implementation

Author:
Emmanuel Bernard

Method Summary
 Join addJoin(javax.persistence.JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
           
 void addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)
           
 void addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)
           
 java.lang.String getClassName()
           
 java.lang.String getEntityName()
           
 java.lang.String getEntityOwnerClassName()
           
 KeyValue getIdentifier()
           
 javax.persistence.JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
          return - null if no join table is present, - the join table if not overridden, - the overridden join table otherwise
 javax.persistence.Column[] getOverriddenColumn(java.lang.String propertyName)
          return null if the column is not overridden, or an array of column if true
 javax.persistence.JoinColumn[] getOverriddenJoinColumn(java.lang.String propertyName)
          return null if the column is not overridden, or an array of column if true
 java.lang.String getPath()
           
 PersistentClass getPersistentClass()
           
 Table getTable()
           
 boolean isComponent()
           
 boolean isEntity()
           
 boolean isInIdClass()
           
 boolean isOrWithinEmbeddedId()
          Return true if this component is or is embedded in a @EmbeddedId
 void setInIdClass(java.lang.Boolean isInIdClass)
           
 void setParentProperty(java.lang.String parentProperty)
           
 

Method Detail

getClassName

java.lang.String getClassName()

getEntityOwnerClassName

java.lang.String getEntityOwnerClassName()

getTable

Table getTable()

addProperty

void addProperty(Property prop,
                 org.hibernate.annotations.common.reflection.XClass declaringClass)

addProperty

void addProperty(Property prop,
                 Ejb3Column[] columns,
                 org.hibernate.annotations.common.reflection.XClass declaringClass)

getIdentifier

KeyValue getIdentifier()

isOrWithinEmbeddedId

boolean isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId


getPersistentClass

PersistentClass getPersistentClass()

isComponent

boolean isComponent()

isEntity

boolean isEntity()

setParentProperty

void setParentProperty(java.lang.String parentProperty)

getPath

java.lang.String getPath()

getOverriddenColumn

javax.persistence.Column[] getOverriddenColumn(java.lang.String propertyName)
return null if the column is not overridden, or an array of column if true


getOverriddenJoinColumn

javax.persistence.JoinColumn[] getOverriddenJoinColumn(java.lang.String propertyName)
return null if the column is not overridden, or an array of column if true


getJoinTable

javax.persistence.JoinTable getJoinTable(org.hibernate.annotations.common.reflection.XProperty property)
return - null if no join table is present, - the join table if not overridden, - the overridden join table otherwise


getEntityName

java.lang.String getEntityName()

addJoin

Join addJoin(javax.persistence.JoinTable joinTableAnn,
             boolean noDelayInPkColumnCreation)

isInIdClass

boolean isInIdClass()

setInIdClass

void setInIdClass(java.lang.Boolean isInIdClass)


Copyright © 2011. All Rights Reserved.