Package org.hibernate.persister.entity
Class AbstractPropertyMapping
java.lang.Object
org.hibernate.persister.entity.AbstractPropertyMapping
- All Implemented Interfaces:
PropertyMapping
- Direct Known Subclasses:
BasicEntityPropertyMapping,CompositeElementPropertyMapping
Basic implementation of the
PropertyMapping contract.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPropertyPath(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates) String[]getColumnNames(String propertyName) protected abstract StringString[]String[]String[]protected voidinitComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory) protected voidinitIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory) protected voidinitPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory) protected final QueryExceptionpropertyException(String propertyName) String[]Given a property path, return the corresponding column name(s).String[]Given a query alias and a property path, return the qualified column nameGiven a component path expression, get the type of the propertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.persister.entity.PropertyMapping
getType
-
Constructor Details
-
AbstractPropertyMapping
public AbstractPropertyMapping()
-
-
Method Details
-
getIdentifierColumnNames
-
getIdentifierColumnReaderTemplates
-
getIdentifierColumnReaders
-
getEntityName
-
toType
Description copied from interface:PropertyMappingGiven a component path expression, get the type of the property- Specified by:
toTypein interfacePropertyMapping- Throws:
QueryException
-
propertyException
- Throws:
QueryException
-
getColumnNames
-
toColumns
Description copied from interface:PropertyMappingGiven a query alias and a property path, return the qualified column name- Specified by:
toColumnsin interfacePropertyMapping- Throws:
QueryException
-
toColumns
Description copied from interface:PropertyMappingGiven a property path, return the corresponding column name(s).- Specified by:
toColumnsin interfacePropertyMapping- Throws:
QueryException
-
addPropertyPath
-
initPropertyPaths
protected void initPropertyPaths(String path, Type type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory) throws MappingException - Throws:
MappingException
-
initIdentifierPropertyPaths
protected void initIdentifierPropertyPaths(String path, EntityType etype, String[] columns, String[] columnReaders, String[] columnReaderTemplates, Mapping factory) throws MappingException - Throws:
MappingException
-
initComponentPropertyPaths
protected void initComponentPropertyPaths(String path, CompositeType type, String[] columns, String[] columnReaders, String[] columnReaderTemplates, String[] formulaTemplates, Mapping factory) throws MappingException - Throws:
MappingException
-