public abstract class AbstractPropertyHolder extends Object implements PropertyHolder
| Modifier and Type | Field and Description |
|---|---|
protected AbstractPropertyHolder |
parent |
| Constructor and Description |
|---|
AbstractPropertyHolder(String path,
PropertyHolder parent,
XClass clazzToProcess,
Mappings mappings) |
| Modifier and Type | Method and Description |
|---|---|
JoinTable |
getJoinTable(XProperty property)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
protected Mappings |
getMappings() |
Column[] |
getOverriddenColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
JoinColumn[] |
getOverriddenJoinColumn(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
JoinTable |
getOverriddenJoinTable(String propertyName)
Get column overriding, property first, then parent, then holder
replace the placeholder 'collection&&element' with nothing
These rules are here to support both JPA 2 and legacy overriding rules.
|
String |
getPath() |
boolean |
isInIdClass() |
protected void |
setCurrentProperty(XProperty property)
property can be null
|
void |
setInIdClass(Boolean isInIdClass) |
void |
setParentProperty(String parentProperty) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJoin, addProperty, addProperty, getClassName, getEntityName, getEntityOwnerClassName, getIdentifier, getPersistentClass, getTable, isComponent, isEntity, isOrWithinEmbeddedIdprotected AbstractPropertyHolder parent
public AbstractPropertyHolder(String path, PropertyHolder parent, XClass clazzToProcess, Mappings mappings)
public boolean isInIdClass()
isInIdClass in interface PropertyHolderpublic void setInIdClass(Boolean isInIdClass)
setInIdClass in interface PropertyHolderpublic String getPath()
getPath in interface PropertyHolderprotected Mappings getMappings()
protected void setCurrentProperty(XProperty property)
public Column[] getOverriddenColumn(String propertyName)
getOverriddenColumn in interface PropertyHolderpublic JoinColumn[] getOverriddenJoinColumn(String propertyName)
getOverriddenJoinColumn in interface PropertyHolderpublic JoinTable getJoinTable(XProperty property)
getJoinTable in interface PropertyHolderpublic JoinTable getOverriddenJoinTable(String propertyName)
public void setParentProperty(String parentProperty)
setParentProperty in interface PropertyHolderCopyright © 2012 JBoss by Red Hat. All Rights Reserved.