public abstract class

AbstractPropertyMapping

extends Object
implements PropertyMapping
java.lang.Object
   ↳ org.hibernate.persister.entity.AbstractPropertyMapping
Known Direct Subclasses

Class Overview

Basic implementation of the PropertyMapping contract.

Summary

Public Constructors
AbstractPropertyMapping()
Public Methods
String[] getColumnNames(String propertyName)
String[] getIdentifierColumnNames()
String[] getIdentifierColumnReaderTemplates()
String[] getIdentifierColumnReaders()
String[] toColumns(String alias, String propertyName)
Given a query alias and a property path, return the qualified column name
String[] toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
Type toType(String propertyName)
Given a component path expression, get the type of the property
Protected Methods
void addPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates)
abstract String getEntityName()
void initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)
void initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory)
void initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)
final QueryException propertyException(String propertyName)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.persister.entity.PropertyMapping

Public Constructors

public AbstractPropertyMapping ()

Public Methods

public String[] getColumnNames (String propertyName)

public String[] getIdentifierColumnNames ()

public String[] getIdentifierColumnReaderTemplates ()

public String[] getIdentifierColumnReaders ()

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

Protected Methods

protected void addPropertyPath (String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates)

protected abstract String getEntityName ()

protected void initComponentPropertyPaths (String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)

protected void initIdentifierPropertyPaths (String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory)

protected void initPropertyPaths (String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory)

protected final QueryException propertyException (String propertyName)