org.hibernate.persister.entity
Class BasicEntityPropertyMapping

java.lang.Object
  extended by org.hibernate.persister.entity.AbstractPropertyMapping
      extended by org.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


Copyright © 2009 Hibernate.org. All Rights Reserved.