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,
Mappings mappings) |
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() |
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
|
AttributeConverterDefinition |
keyElementAttributeConverterDefinition(org.hibernate.annotations.common.reflection.XClass keyXClass) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(String path) |
protected AttributeConversionInfo |
locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property) |
protected String |
normalizeCompositePath(String attributeName) |
protected String |
normalizeCompositePathForLogging(String attributeName) |
void |
prepare(org.hibernate.annotations.common.reflection.XProperty collectionProperty) |
AttributeConverterDefinition |
resolveElementAttributeConverterDefinition(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() |
areTypeMatch, getJoinTable, getMappings, getOverriddenColumn, getOverriddenJoinColumn, getOverriddenJoinTable, getPath, isInIdClass, makeAttributeConverterDefinition, resolveAttributeConverterDefinition, setCurrentProperty, setInIdClass, setParentProperty
public CollectionPropertyHolder(Collection collection, String path, org.hibernate.annotations.common.reflection.XClass clazzToProcess, org.hibernate.annotations.common.reflection.XProperty property, PropertyHolder parentPropertyHolder, Mappings mappings)
protected String normalizeCompositePath(String attributeName)
normalizeCompositePath
in class AbstractPropertyHolder
protected String normalizeCompositePathForLogging(String attributeName)
normalizeCompositePathForLogging
in class AbstractPropertyHolder
public void startingProperty(org.hibernate.annotations.common.reflection.XProperty property)
PropertyHolder
property
- The propertyprotected AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.annotations.common.reflection.XProperty property)
locateAttributeConversionInfo
in class AbstractPropertyHolder
protected AttributeConversionInfo locateAttributeConversionInfo(String path)
locateAttributeConversionInfo
in class AbstractPropertyHolder
public 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()
PropertyHolder
public 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 AttributeConverterDefinition resolveElementAttributeConverterDefinition(org.hibernate.annotations.common.reflection.XClass elementXClass)
public AttributeConverterDefinition keyElementAttributeConverterDefinition(org.hibernate.annotations.common.reflection.XClass keyXClass)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.