Top Fields Constructors Methods
org.hibernate.persister.collection

public Class ElementPropertyMapping

extends Object
implements PropertyMapping
Class Inheritance
All Implemented Interfaces
org.hibernate.persister.entity.PropertyMapping
Imports
org.hibernate.MappingException, .QueryException, org.hibernate.persister.entity.PropertyMapping, org.hibernate.type.Type, org.hibernate.util.StringHelper

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final String[]
private final Type

Constructor Summary

AccessConstructor and Description
public
ElementPropertyMapping(String[] elementColumns, Type type)

Method Summary

Modifier and TypeMethod and Description
public Type
getType()

Implements org.hibernate.persister.entity.PropertyMapping.getType.

Get the type of the thing containing the properties
public String[]
toColumns(String alias, String propertyName)

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

Given a query alias and a property path, return the qualified column name
public String[]
toColumns(String propertyName)

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

Given a property path, return the corresponding column name(s).
public Type
toType(String propertyName)

Implements org.hibernate.persister.entity.PropertyMapping.toType.

Given a component path expression, get the type of the property
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

elementColumnsback to summary
private final String[] elementColumns
typeback to summary
private final Type type

Constructor Detail

ElementPropertyMappingback to summary
public ElementPropertyMapping(String[] elementColumns, Type type) throws MappingException

Method Detail

getTypeback to summary
public Type getType()

Implements org.hibernate.persister.entity.PropertyMapping.getType.

Doc from org.hibernate.persister.entity.PropertyMapping.getType.

Get the type of the thing containing the properties

toColumnsback to summary
public String[] toColumns(String alias, String propertyName) throws QueryException

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

Doc from org.hibernate.persister.entity.PropertyMapping.toColumns.

Given a query alias and a property path, return the qualified column name

toColumnsback to summary
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException

Implements org.hibernate.persister.entity.PropertyMapping.toColumns.

Given a property path, return the corresponding column name(s).

toTypeback to summary
public Type toType(String propertyName) throws QueryException

Implements org.hibernate.persister.entity.PropertyMapping.toType.

Doc from org.hibernate.persister.entity.PropertyMapping.toType.

Given a component path expression, get the type of the property