Interface PersistentPropertiesSource


public interface PersistentPropertiesSource
A source of data on persistent properties of a class or component.
  • Method Details

    • getPropertyIterator

      Iterator<org.hibernate.mapping.Property> getPropertyIterator()
    • getProperty

      org.hibernate.mapping.Property getProperty(String propertyName)
    • getXClass

      org.hibernate.annotations.common.reflection.XClass getXClass()
    • isDynamicComponent

      boolean isDynamicComponent()
    • hasCompositeUserType

      boolean hasCompositeUserType()
    • forClass

      static PersistentPropertiesSource forClass(org.hibernate.mapping.PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazz)
      Get a persistent properties source for a persistent class.
      Parameters:
      persistentClass - the persistent class
      clazz - the class
      Returns:
      the properties source
    • forComponent

      static PersistentPropertiesSource forComponent(EnversMetadataBuildingContext context, org.hibernate.mapping.Component component, boolean dynamic)
      Get a persistent properties source for a component that needs its class resolved.
      Parameters:
      context - the metadata building context
      component - the component
      dynamic - whether the component is dynamic or not
      Returns:
      the properties source
    • forComponent

      static PersistentPropertiesSource forComponent(EnversMetadataBuildingContext context, org.hibernate.mapping.Component component)
    • forComponent

      static PersistentPropertiesSource forComponent(org.hibernate.mapping.Component component, org.hibernate.annotations.common.reflection.XClass clazz, boolean dynamic)
      Get a persistent properties source for a component with its class already resolved.
      Parameters:
      component - the component
      clazz - the class
      dynamic - whether the component is dynamic or not
      Returns:
      the properties source