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

BasicEntityPropertyMapping (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.persister.entity
Class BasicEntityPropertyMapping

java.lang.Object
  extended byorg.hibernate.persister.entity.AbstractPropertyMapping
      extended byorg.hibernate.persister.entity.BasicEntityPropertyMapping
All Implemented Interfaces:
PropertyMapping

public class BasicEntityPropertyMapping
extends AbstractPropertyMapping

Author:
Gavin King

Constructor Summary
BasicEntityPropertyMapping(AbstractEntityPersister persister)
           
 
Method Summary
protected  String getEntityName()
           
 String[] getIdentifierColumnNames()
           
 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
 
Methods inherited from class org.hibernate.persister.entity.AbstractPropertyMapping
addPropertyPath, getColumnNames, initComponentPropertyPaths, initIdentifierPropertyPaths, initPropertyPaths, propertyException, toColumns, toType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEntityPropertyMapping

public BasicEntityPropertyMapping(AbstractEntityPersister persister)
Method Detail

getIdentifierColumnNames

public String[] getIdentifierColumnNames()
Overrides:
getIdentifierColumnNames in class AbstractPropertyMapping

getEntityName

protected String getEntityName()
Specified by:
getEntityName in class AbstractPropertyMapping

getType

public Type getType()
Description copied from interface: PropertyMapping
Get the type of the thing containing the properties


toColumns

public String[] toColumns(String alias,
                          String propertyName)
                   throws QueryException
Description copied from interface: PropertyMapping
Given a query alias and a property path, return the qualified column name

Specified by:
toColumns in interface PropertyMapping
Overrides:
toColumns in class AbstractPropertyMapping
Throws:
QueryException