Top Description Methods
org.hibernate.persister.entity

public Interface PropertyMapping

Known Direct Subinterfaces
org.hibernate.persister.entity.Queryable, org.hibernate.persister.collection.QueryableCollection
Known Direct Implementers
org.hibernate.hql.ast.tree.FromElementType.SpecialManyToManyCollectionPropertyMapping, org.hibernate.hql.ast.tree.ComponentJoin.ComponentPropertyMapping, org.hibernate.persister.collection.CollectionPropertyMapping, org.hibernate.persister.collection.ElementPropertyMapping, org.hibernate.persister.entity.AbstractPropertyMapping
Imports
org.hibernate.QueryException, org.hibernate.type.Type

Abstraction of all mappings that define properties: entities, collection elements.
Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public Type
getType()

Get the type of the thing containing the properties

public String[]
toColumns(String alias, String propertyName)

Given a query alias and a property path, return the qualified column name

public String[]
toColumns(String propertyName)

Given a property path, return the corresponding column name(s).

public Type
toType(String propertyName)

Given a component path expression, get the type of the property

Method Detail

getTypeback to summary
public Type getType()

Get the type of the thing containing the properties

toColumnsback to summary
public String[] toColumns(String alias, String propertyName) throws QueryException

Given a query alias and a property path, return the qualified column name

toColumnsback to summary
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException

Given a property path, return the corresponding column name(s).

toTypeback to summary
public Type toType(String propertyName) throws QueryException

Given a component path expression, get the type of the property