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
org.hibernate.mapping.Component, .Property, org.hibernate.HibernateException, org.hibernate.tuple.StandardProperty, .PropertyFactory, java.io.Serializable, java.util.Iterator, .Map, .HashMap

Centralizes metamodel information about a component.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final boolean
private final StandardProperty[]
private final Map<K, V>
private final int
private final String
private final ComponentEntityModeToTuplizerMapping

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public StandardProperty[]
public StandardProperty
getProperty(int index)

public StandardProperty
getProperty(String propertyName)

public int
getPropertyIndex(String propertyName)

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

Field Detail

isKeyback to summary
private final boolean isKey
propertiesback to summary
private final StandardProperty[] properties
propertyIndexesback to summary
private final Map<K, V> propertyIndexes
propertySpanback to summary
private final int propertySpan
roleback to summary
private final String role
tuplizerMappingback to summary
private final ComponentEntityModeToTuplizerMapping tuplizerMapping

Constructor Detail

ComponentMetamodelback to summary
public ComponentMetamodel(Component component)

Method Detail

getPropertiesback to summary
public StandardProperty[] getProperties()
getPropertyback to summary
public StandardProperty getProperty(int index)
getPropertyback to summary
public StandardProperty getProperty(String propertyName)
getPropertyIndexback to summary
public int getPropertyIndex(String propertyName)
getPropertySpanback to summary
public int getPropertySpan()
getTuplizerMappingback to summary
public ComponentEntityModeToTuplizerMapping getTuplizerMapping()
isKeyback to summary
public boolean isKey()