Class ElementPropertyMapping
- java.lang.Object
-
- org.hibernate.persister.collection.ElementPropertyMapping
-
- All Implemented Interfaces:
PropertyMapping
public class ElementPropertyMapping extends Object implements PropertyMapping
-
-
Constructor Summary
Constructors Constructor Description ElementPropertyMapping(String[] elementColumns, Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypegetType()Get the type of the thing containing the propertiesString[]toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]toColumns(String alias, String propertyName)Obtain aliased column/formula fragments for the specified property path.TypetoType(String propertyName)Given a component path expression, get the type of the property
-
-
-
Constructor Detail
-
ElementPropertyMapping
public ElementPropertyMapping(String[] elementColumns, Type type) throws MappingException
- Throws:
MappingException
-
-
Method Detail
-
toType
public Type toType(String propertyName) throws QueryException
Description copied from interface:PropertyMappingGiven a component path expression, get the type of the property- Specified by:
toTypein interfacePropertyMapping- Throws:
QueryException
-
toColumns
public String[] toColumns(String alias, String propertyName) throws QueryException
Description copied from interface:PropertyMappingObtain aliased column/formula fragments for the specified property path.- Specified by:
toColumnsin interfacePropertyMapping- Throws:
QueryException
-
toColumns
public String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException
Given a property path, return the corresponding column name(s).- Specified by:
toColumnsin interfacePropertyMapping- Throws:
QueryExceptionUnsupportedOperationException
-
getType
public Type getType()
Description copied from interface:PropertyMappingGet the type of the thing containing the properties- Specified by:
getTypein interfacePropertyMapping
-
-