Top Description Fields Constructors Methods
org.hibernate.cfg

public Class ComponentPropertyHolder

extends AbstractPropertyHolder
Class Inheritance
Imports
javax.persistence.Column, .EmbeddedId, .Id, .JoinColumn, .JoinTable, org.hibernate.AnnotationException, org.hibernate.annotations.common.reflection.XClass, .XProperty, org.hibernate.mapping.Component, .Join, .KeyValue, .PersistentClass, .Property, .Table

Component implementation of property holder
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private Component
private boolean
Inherited from org.hibernate.cfg.AbstractPropertyHolder:
parent

Constructor Summary

AccessConstructor and Description
public
ComponentPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, Mappings mappings)

Method Summary

Modifier and TypeMethod and Description
public Join
addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)

Implements org.hibernate.cfg.PropertyHolder.addJoin.

public void
public void
private String
extractUserPropertyName(String redundantString, String propertyName)

public String
public String
public String
public KeyValue
public Column[]
getOverriddenColumn(String propertyName)

Overrides org.hibernate.cfg.AbstractPropertyHolder.getOverriddenColumn.

Implements org.hibernate.cfg.PropertyHolder.getOverriddenColumn.

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.
public JoinColumn[]
getOverriddenJoinColumn(String propertyName)

Overrides org.hibernate.cfg.AbstractPropertyHolder.getOverriddenJoinColumn.

Implements org.hibernate.cfg.PropertyHolder.getOverriddenJoinColumn.

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.
public PersistentClass
public Table
public boolean
public boolean
public boolean
isOrWithinEmbeddedId()

Implements org.hibernate.cfg.PropertyHolder.isOrWithinEmbeddedId.

Return true if this component is or is embedded in a @EmbeddedId
public void
Inherited from org.hibernate.cfg.AbstractPropertyHolder:
getJoinTablegetMappingsgetOverriddenJoinTablegetPathisInIdClasssetCurrentPropertysetInIdClass

Field Detail

componentback to summary
private Component component
isOrWithinEmbeddedIdback to summary
private boolean isOrWithinEmbeddedId

Constructor Detail

ComponentPropertyHolderback to summary
public ComponentPropertyHolder(Component component, String path, PropertyData inferredData, PropertyHolder parent, Mappings mappings)

Method Detail

addJoinback to summary
public Join addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)

Implements org.hibernate.cfg.PropertyHolder.addJoin.

addPropertyback to summary
public void addProperty(Property prop, Ejb3Column[] columns, XClass declaringClass)

Implements org.hibernate.cfg.PropertyHolder.addProperty.

addPropertyback to summary
public void addProperty(Property prop, XClass declaringClass)

Implements org.hibernate.cfg.PropertyHolder.addProperty.

extractUserPropertyNameback to summary
private String extractUserPropertyName(String redundantString, String propertyName)
getClassNameback to summary
public String getClassName()

Implements org.hibernate.cfg.PropertyHolder.getClassName.

getEntityNameback to summary
public String getEntityName()

Implements org.hibernate.cfg.PropertyHolder.getEntityName.

getEntityOwnerClassNameback to summary
public String getEntityOwnerClassName()

Implements org.hibernate.cfg.PropertyHolder.getEntityOwnerClassName.

getIdentifierback to summary
public KeyValue getIdentifier()

Implements org.hibernate.cfg.PropertyHolder.getIdentifier.

getOverriddenColumnback to summary
public Column[] getOverriddenColumn(String propertyName)

Overrides org.hibernate.cfg.AbstractPropertyHolder.getOverriddenColumn.

Implements org.hibernate.cfg.PropertyHolder.getOverriddenColumn.

Doc from org.hibernate.cfg.AbstractPropertyHolder.getOverriddenColumn.

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.

Annotations
@Override
getOverriddenJoinColumnback to summary
public JoinColumn[] getOverriddenJoinColumn(String propertyName)

Overrides org.hibernate.cfg.AbstractPropertyHolder.getOverriddenJoinColumn.

Implements org.hibernate.cfg.PropertyHolder.getOverriddenJoinColumn.

Doc from org.hibernate.cfg.AbstractPropertyHolder.getOverriddenJoinColumn.

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.

Annotations
@Override
getPersistentClassback to summary
public PersistentClass getPersistentClass()

Implements org.hibernate.cfg.PropertyHolder.getPersistentClass.

getTableback to summary
public Table getTable()

Implements org.hibernate.cfg.PropertyHolder.getTable.

isComponentback to summary
public boolean isComponent()

Implements org.hibernate.cfg.PropertyHolder.isComponent.

isEntityback to summary
public boolean isEntity()

Implements org.hibernate.cfg.PropertyHolder.isEntity.

isOrWithinEmbeddedIdback to summary
public boolean isOrWithinEmbeddedId()

Implements org.hibernate.cfg.PropertyHolder.isOrWithinEmbeddedId.

Doc from org.hibernate.cfg.PropertyHolder.isOrWithinEmbeddedId.

Return true if this component is or is embedded in a @EmbeddedId

setParentPropertyback to summary
public void setParentProperty(String parentProperty)

Overrides org.hibernate.cfg.AbstractPropertyHolder.setParentProperty.

Implements org.hibernate.cfg.PropertyHolder.setParentProperty.