站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 2.1.8 正式版 API 英文文档

PropertyMapping (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档


net.sf.hibernate.persister
Interface PropertyMapping

All Known Subinterfaces:
Queryable, QueryableCollection
All Known Implementing Classes:
AbstractCollectionPersister, AbstractEntityPersister, AbstractPropertyMapping, CollectionPropertyMapping, ElementPropertyMapping, EntityPersister

public interface PropertyMapping

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

Author:
Gavin King

Method Summary
 Type getType()
          Get the type of the thing containing the properties
 String[] toColumns(String alias, String propertyName)
          Given a query alias and a property path, return the qualified column name
 Type toType(String propertyName)
          Given a component path expression, get the type of the property
 

Method Detail

toType

public Type toType(String propertyName)
            throws QueryException
Given a component path expression, get the type of the property

Throws:
QueryException

toColumns

public String[] toColumns(String alias,
                          String propertyName)
                   throws QueryException
Given a query alias and a property path, return the qualified column name

Throws:
QueryException

getType

public Type getType()
Get the type of the thing containing the properties