Top Description Fields Constructors Methods
org.hibernate.tuple.component

public Class ComponentMetamodel

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.util.HashMap, .Iterator, .Map, org.hibernate.EntityMode, .HibernateException, org.hibernate.boot.spi.BootstrapContext, .MetadataBuildingOptions, org.hibernate.cfg.Environment, org.hibernate.engine.config.spi.ConfigurationService, org.hibernate.internal.util.config.ConfigurationHelper, org.hibernate.mapping.Component, .Property, org.hibernate.tuple.PropertyFactory, .StandardProperty

Centralizes metamodel information about a component.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ComponentTuplizer
private final boolean
private final EntityMode
private final boolean
private final StandardProperty[]
properties

Deprecated as a consequence of StandardProperty being deprecated.
private final Map<K, V>
private final int
private final String

Constructor Summary

AccessConstructor and Description
public
public
ComponentMetamodel(Component component, BootstrapContext bootstrapContext)

private
ComponentMetamodel(Component component, ComponentTuplizerFactory componentTuplizerFactory)

Method Summary

Modifier and TypeMethod and Description
public ComponentTuplizer
public EntityMode
public StandardProperty[]
getProperties()

Deprecated as a consequence of StandardProperty being deprecated.
public StandardProperty
getProperty(int index)

Deprecated as a consequence of StandardProperty being deprecated.
public StandardProperty
getProperty(String propertyName)

Deprecated as a consequence of StandardProperty being deprecated.
public int
getPropertyIndex(String propertyName)

public int
public boolean
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

componentTuplizerback to summary
private final ComponentTuplizer componentTuplizer
createEmptyCompositesEnabledback to summary
private final boolean createEmptyCompositesEnabled
entityModeback to summary
private final EntityMode entityMode
isKeyback to summary
private final boolean isKey
propertiesback to summary
private final StandardProperty[] properties

Deprecated

as a consequence of StandardProperty being deprecated. See corresponding docs for further information.

propertyIndexesback to summary
private final Map<K, V> propertyIndexes
propertySpanback to summary
private final int propertySpan
roleback to summary
private final String role

Constructor Detail

ComponentMetamodelback to summary
public ComponentMetamodel(Component component, MetadataBuildingOptions metadataBuildingOptions)
Annotations
@Deprecated
ComponentMetamodelback to summary
public ComponentMetamodel(Component component, BootstrapContext bootstrapContext)
ComponentMetamodelback to summary
private ComponentMetamodel(Component component, ComponentTuplizerFactory componentTuplizerFactory)

Method Detail

getComponentTuplizerback to summary
public ComponentTuplizer getComponentTuplizer()
getEntityModeback to summary
public EntityMode getEntityMode()
getPropertiesback to summary
public StandardProperty[] getProperties()

Deprecated

as a consequence of StandardProperty being deprecated. See corresponding docs for further information.

getPropertyback to summary
public StandardProperty getProperty(int index)

Deprecated

as a consequence of StandardProperty being deprecated. See corresponding docs for further information.

getPropertyback to summary
public StandardProperty getProperty(String propertyName)

Deprecated

as a consequence of StandardProperty being deprecated. See corresponding docs for further information.

getPropertyIndexback to summary
public int getPropertyIndex(String propertyName)
getPropertySpanback to summary
public int getPropertySpan()
isCreateEmptyCompositesEnabledback to summary
public boolean isCreateEmptyCompositesEnabled()
isKeyback to summary
public boolean isKey()