org.hibernate.tuple.component

Class ComponentMetamodel

Implemented Interfaces:
Serializable

public class ComponentMetamodel
extends java.lang.Object
implements Serializable

Centralizes metamodel information about a component.
Author:
Steve Ebersole

Constructor Summary

ComponentMetamodel(Component component)

Method Summary

StandardProperty[]
getProperties()
StandardProperty
getProperty(String propertyName)
StandardProperty
getProperty(int index)
int
getPropertyIndex(String propertyName)
int
getPropertySpan()
org.hibernate.tuple.component.ComponentEntityModeToTuplizerMapping
getTuplizerMapping()
boolean
isKey()

Constructor Details

ComponentMetamodel

public ComponentMetamodel(Component component)

Method Details

getProperties

public StandardProperty[] getProperties()

getProperty

public StandardProperty getProperty(String propertyName)

getProperty

public StandardProperty getProperty(int index)

getPropertyIndex

public int getPropertyIndex(String propertyName)

getPropertySpan

public int getPropertySpan()

getTuplizerMapping

public org.hibernate.tuple.component.ComponentEntityModeToTuplizerMapping getTuplizerMapping()

isKey

public boolean isKey()