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