org.hibernate.persister.entity

Class BasicEntityPropertyMapping

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, getEntityName, getIdentifierColumnNames, initComponentPropertyPaths, initIdentifierPropertyPaths, initPropertyPaths, propertyException, toColumns, toColumns, toType

Constructor Details

BasicEntityPropertyMapping

public BasicEntityPropertyMapping(AbstractEntityPersister persister)

Method Details

getEntityName

protected String getEntityName()
Overrides:
getEntityName in interface AbstractPropertyMapping

getIdentifierColumnNames

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

getType

public Type getType()
Get the type of the thing containing the properties
Specified by:
getType in interface PropertyMapping

toColumns

public String[] toColumns(String alias,
                          String propertyName)
            throws QueryException
Given a query alias and a property path, return the qualified column name
Specified by:
toColumns in interface PropertyMapping
Overrides:
toColumns in interface AbstractPropertyMapping