public class ComponentPropertyHolder extends AbstractPropertyHolder
parent| Constructor and Description |
|---|
ComponentPropertyHolder(Component component,
String path,
PropertyData inferredData,
PropertyHolder parent,
Mappings mappings) |
| Modifier and Type | Method and Description |
|---|---|
Join |
addJoin(JoinTable joinTableAnn,
boolean noDelayInPkColumnCreation) |
void |
addProperty(Property prop,
Ejb3Column[] columns,
XClass declaringClass) |
void |
addProperty(Property prop,
XClass declaringClass) |
String |
getClassName() |
String |
getEntityName() |
String |
getEntityOwnerClassName() |
KeyValue |
getIdentifier() |
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.
|
PersistentClass |
getPersistentClass() |
Table |
getTable() |
boolean |
isComponent() |
boolean |
isEntity() |
boolean |
isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId
|
void |
setParentProperty(String parentProperty) |
getJoinTable, getMappings, getOverriddenJoinTable, getPath, isInIdClass, setCurrentProperty, setInIdClasspublic ComponentPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, Mappings mappings)
public String getEntityName()
public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass)
public String getClassName()
public String getEntityOwnerClassName()
public Table getTable()
public KeyValue getIdentifier()
public boolean isOrWithinEmbeddedId()
PropertyHolderpublic PersistentClass getPersistentClass()
public boolean isComponent()
public boolean isEntity()
public void setParentProperty(String parentProperty)
setParentProperty in interface PropertyHoldersetParentProperty in class AbstractPropertyHolderpublic Column[] getOverriddenColumn(String propertyName)
AbstractPropertyHoldergetOverriddenColumn in interface PropertyHoldergetOverriddenColumn in class AbstractPropertyHolderpublic JoinColumn[] getOverriddenJoinColumn(String propertyName)
AbstractPropertyHoldergetOverriddenJoinColumn in interface PropertyHoldergetOverriddenJoinColumn in class AbstractPropertyHolderCopyright © 2012 JBoss by Red Hat. All Rights Reserved.