Interface PersistentPropertiesSource
-
public interface PersistentPropertiesSourceA source of data on persistent properties of a class or component.- Author:
- Adam Warski (adam at warski dot org), Chris Cranford
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static PersistentPropertiesSourceforClass(org.hibernate.mapping.PersistentClass persistentClass, XClass clazz)Get a persistent properties source for a persistent class.static PersistentPropertiesSourceforComponent(EnversMetadataBuildingContext context, org.hibernate.mapping.Component component)static PersistentPropertiesSourceforComponent(EnversMetadataBuildingContext context, org.hibernate.mapping.Component component, boolean dynamic)Get a persistent properties source for a component that needs its class resolved.static PersistentPropertiesSourceforComponent(org.hibernate.mapping.Component component, XClass clazz, boolean dynamic)Get a persistent properties source for a component with its class already resolved.org.hibernate.mapping.PropertygetProperty(String propertyName)Iterator<org.hibernate.mapping.Property>getPropertyIterator()XClassgetXClass()booleanhasCompositeUserType()booleanisDynamicComponent()
-
-
-
Method Detail
-
getPropertyIterator
Iterator<org.hibernate.mapping.Property> getPropertyIterator()
-
getProperty
org.hibernate.mapping.Property getProperty(String propertyName)
-
getXClass
XClass getXClass()
-
isDynamicComponent
boolean isDynamicComponent()
-
hasCompositeUserType
boolean hasCompositeUserType()
-
forClass
static PersistentPropertiesSource forClass(org.hibernate.mapping.PersistentClass persistentClass, 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, 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 contextcomponent- the componentdynamic- 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, 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
-
-