public class CollectionPropertyHolder extends AbstractPropertyHolder
parent| Constructor and Description |
|---|
CollectionPropertyHolder(Collection collection,
java.lang.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(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() |
Collection |
getCollectionBinding() |
java.lang.String |
getEntityName() |
java.lang.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 withing an @ElementCollection.
|
protected AttributeConversionInfo |
locateAttributeConversionInfo(java.lang.String path) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
AttributeConverterDescriptor |
mapKeyAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty mapXProperty,
org.hibernate.annotations.common.reflection.XClass keyXClass) |
protected java.lang.String |
normalizeCompositePath(java.lang.String attributeName) |
protected java.lang.String |
normalizeCompositePathForLogging(java.lang.String attributeName) |
void |
prepare(org.hibernate.annotations.common.reflection.XProperty collectionProperty) |
AttributeConverterDescriptor |
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.
|
java.lang.String |
toString() |
areTypeMatch, buildExceptionFromInstantiationError, getContext, getJoinTable, getOverriddenColumn, getOverriddenForeignKey, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, makeAttributeConverterDescriptor, resolveAttributeConverterDescriptor, setCurrentProperty, setInIdClass, setParentPropertypublic CollectionPropertyHolder(Collection collection, java.lang.String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
public Collection getCollectionBinding()
protected java.lang.String normalizeCompositePath(java.lang.String attributeName)
normalizeCompositePath in class AbstractPropertyHolderprotected java.lang.String normalizeCompositePathForLogging(java.lang.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(java.lang.String path)
locateAttributeConversionInfo in class AbstractPropertyHolderpublic java.lang.String getClassName()
public java.lang.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 java.lang.String getEntityName()
public void addProperty(Property prop, Ejb3Column[] columns, org.hibernate.annotations.common.reflection.XClass declaringClass)
public Join addJoin(javax.persistence.JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
public java.lang.String toString()
toString in class java.lang.Objectpublic void prepare(org.hibernate.annotations.common.reflection.XProperty collectionProperty)
public AttributeConverterDescriptor resolveElementAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty collectionXProperty, org.hibernate.annotations.common.reflection.XClass elementXClass)
public AttributeConverterDescriptor mapKeyAttributeConverterDescriptor(org.hibernate.annotations.common.reflection.XProperty mapXProperty, org.hibernate.annotations.common.reflection.XClass keyXClass)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.