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 Type
getType()
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.Type
toType(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:PropertyMapping
Given a component path expression, get the type of the property- Specified by:
toType
in interfacePropertyMapping
- Throws:
QueryException
-
toColumns
public java.lang.String[] toColumns(java.lang.String alias, java.lang.String propertyName) throws QueryException
Description copied from interface:PropertyMapping
Obtain aliased column/formula fragments for the specified property path.- Specified by:
toColumns
in interfacePropertyMapping
- Throws:
QueryException
-
toColumns
public java.lang.String[] toColumns(java.lang.String propertyName) throws QueryException, java.lang.UnsupportedOperationException
Given a property path, return the corresponding column name(s).- Specified by:
toColumns
in interfacePropertyMapping
- Throws:
QueryException
java.lang.UnsupportedOperationException
-
getType
public Type getType()
Description copied from interface:PropertyMapping
Get the type of the thing containing the properties- Specified by:
getType
in interfacePropertyMapping
-
-