public class CollectionPropertyHolder extends AbstractPropertyHolder
parent| Constructor and Description |
|---|
CollectionPropertyHolder(Collection collection,
String path,
org.hibernate.annotations.common.reflection.XClass clazzToProcess,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
MetadataBuildingContext context) |
| Modifier and Type | Method and Description |
|---|---|
Join |
addJoin(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) |
String |
getClassName() |
Collection |
getCollectionBinding() |
String |
getEntityName() |
String |
getEntityOwnerClassName() |
KeyValue |
getIdentifier() |
PersistentClass |
getPersistentClass() |
Table |
getTable() |
boolean |
isComponent() |
boolean |
isEntity() |
boolean |
isOrWithinEmbeddedId()
Return true if this component is or is embedded in a @EmbeddedId
|
boolean |
isWithinElementCollection()
Return true if this component is within an @ElementCollection.
|
protected AttributeConversionInfo |
locateAttributeConversionInfo(String path) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
ConverterDescriptor |
mapKeyAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty mapXProperty,
org.hibernate.annotations.common.reflection.XClass keyXClass) |
protected String |
normalizeCompositePath(String attributeName) |
protected String |
normalizeCompositePathForLogging(String attributeName) |
void |
prepare(org.hibernate.annotations.common.reflection.XProperty collectionProperty) |
ConverterDescriptor |
resolveElementAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty collectionXProperty,
org.hibernate.annotations.common.reflection.XClass elementXClass) |
void |
startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
Called during binding to allow the PropertyHolder to inspect its discovered properties.
|
String |
toString() |
buildExceptionFromInstantiationError, getContext, getJoinTable, getOverriddenColumn, getOverriddenForeignKey, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, makeAttributeConverterDescriptor, resolveAttributeConverterDescriptor, setCurrentProperty, setInIdClass, setParentPropertypublic CollectionPropertyHolder(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
public Collection getCollectionBinding()
protected String normalizeCompositePath(String attributeName)
normalizeCompositePath in class AbstractPropertyHolderprotected String normalizeCompositePathForLogging(String attributeName)
normalizeCompositePathForLogging in class AbstractPropertyHolderpublic void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolderproperty - The propertyprotected AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
locateAttributeConversionInfo in class AbstractPropertyHolderprotected AttributeConversionInfo locateAttributeConversionInfo(String path)
locateAttributeConversionInfo in class AbstractPropertyHolderpublic String getClassName()
public String getEntityOwnerClassName()
public Table getTable()
public void addProperty(Property prop, org.hibernate.annotations.common.reflection.XClass declaringClass)
public KeyValue getIdentifier()
public boolean isOrWithinEmbeddedId()
PropertyHolderpublic boolean isWithinElementCollection()
PropertyHolderpublic PersistentClass getPersistentClass()
public boolean isComponent()
public boolean isEntity()
public String getEntityName()
public void addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)
public void prepare(org.hibernate.annotations.common.reflection.XProperty collectionProperty)
public ConverterDescriptor resolveElementAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty collectionXProperty, org.hibernate.annotations.common.reflection.XClass elementXClass)
public ConverterDescriptor mapKeyAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty mapXProperty, org.hibernate.annotations.common.reflection.XClass keyXClass)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.