Class CollectionPropertyHolder

java.lang.Object
org.hibernate.boot.model.internal.AbstractPropertyHolder
org.hibernate.boot.model.internal.CollectionPropertyHolder
All Implemented Interfaces:
PropertyHolder

public class CollectionPropertyHolder extends AbstractPropertyHolder
  • Constructor Details

    • CollectionPropertyHolder

      public CollectionPropertyHolder(Collection collection, String path, org.hibernate.models.spi.ClassDetails clazzToProcess, org.hibernate.models.spi.MemberDetails property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context)
  • Method Details

    • getCollectionBinding

      public Collection getCollectionBinding()
    • normalizeCompositePath

      protected String normalizeCompositePath(String attributeName)
      Specified by:
      normalizeCompositePath in class AbstractPropertyHolder
    • normalizeCompositePathForLogging

      protected String normalizeCompositePathForLogging(String attributeName)
      Specified by:
      normalizeCompositePathForLogging in class AbstractPropertyHolder
    • startingProperty

      public void startingProperty(org.hibernate.models.spi.MemberDetails property)
      Description copied from interface: PropertyHolder
      Called during binding to allow the PropertyHolder to inspect its discovered properties. Mainly this is used in collecting attribute conversion declarations (via @Convert/@Converts).
      Parameters:
      property - The property
    • locateAttributeConversionInfo

      protected AttributeConversionInfo locateAttributeConversionInfo(org.hibernate.models.spi.MemberDetails attributeMember)
      Specified by:
      locateAttributeConversionInfo in class AbstractPropertyHolder
    • locateAttributeConversionInfo

      protected AttributeConversionInfo locateAttributeConversionInfo(String path)
      Specified by:
      locateAttributeConversionInfo in class AbstractPropertyHolder
    • getClassName

      public String getClassName()
    • getEntityOwnerClassName

      public String getEntityOwnerClassName()
    • getTable

      public Table getTable()
    • addProperty

      public void addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass)
    • getIdentifier

      public KeyValue getIdentifier()
    • isOrWithinEmbeddedId

      public boolean isOrWithinEmbeddedId()
      Description copied from interface: PropertyHolder
      Return true if this component is or is embedded in a @EmbeddedId
    • isWithinElementCollection

      public boolean isWithinElementCollection()
      Description copied from interface: PropertyHolder
      Return true if this component is within an @ElementCollection.
    • getPersistentClass

      public PersistentClass getPersistentClass()
    • isComponent

      public boolean isComponent()
    • isEntity

      public boolean isEntity()
    • getEntityName

      public String getEntityName()
    • addProperty

      public void addProperty(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, AnnotatedColumns columns, org.hibernate.models.spi.ClassDetails declaringClass)
    • addJoin

      public Join addJoin(JoinTable joinTableAnn, boolean noDelayInPkColumnCreation)
    • addJoin

      public Join addJoin(JoinTable joinTableAnn, Table table, boolean noDelayInPkColumnCreation)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • prepare

      public void prepare(org.hibernate.models.spi.MemberDetails collectionProperty, boolean isComposite)
    • resolveElementAttributeConverterDescriptor

      public ConverterDescriptor resolveElementAttributeConverterDescriptor(org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails classDetails)
    • mapKeyAttributeConverterDescriptor

      public ConverterDescriptor mapKeyAttributeConverterDescriptor(org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.TypeDetails keyTypeDetails)