Interface PersistentPropertiesSource
-
public interface PersistentPropertiesSource
A source of data on persistent properties of a class or component.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PersistentPropertiesSource
forClass(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazz)
Get a persistent properties source for a persistent class.static PersistentPropertiesSource
forComponent(EnversMetadataBuildingContext context, Component component)
static PersistentPropertiesSource
forComponent(EnversMetadataBuildingContext context, Component component, boolean dynamic)
Get a persistent properties source for a component that needs its class resolved.static PersistentPropertiesSource
forComponent(Component component, org.hibernate.annotations.common.reflection.XClass clazz, boolean dynamic)
Get a persistent properties source for a component with its class already resolved.Property
getProperty(String propertyName)
Iterator<Property>
getPropertyIterator()
org.hibernate.annotations.common.reflection.XClass
getXClass()
boolean
hasCompositeUserType()
boolean
isDynamicComponent()
-
-
-
Method Detail
-
getXClass
org.hibernate.annotations.common.reflection.XClass getXClass()
-
isDynamicComponent
boolean isDynamicComponent()
-
hasCompositeUserType
boolean hasCompositeUserType()
-
forClass
static PersistentPropertiesSource forClass(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazz)
Get a persistent properties source for a persistent class.- Parameters:
persistentClass
- the persistent classclazz
- the class- Returns:
- the properties source
-
forComponent
static PersistentPropertiesSource forComponent(EnversMetadataBuildingContext context, Component component, boolean dynamic)
Get a persistent properties source for a component that needs its class resolved.- Parameters:
context
- the metadata building contextcomponent
- the componentdynamic
- whether the component is dynamic or not- Returns:
- the properties source
-
forComponent
static PersistentPropertiesSource forComponent(EnversMetadataBuildingContext context, Component component)
-
forComponent
static PersistentPropertiesSource forComponent(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 componentclazz
- the classdynamic
- whether the component is dynamic or not- Returns:
- the properties source
-
-