public class CollectionPropertyMapping extends java.lang.Object implements PropertyMapping
Constructor and Description |
---|
CollectionPropertyMapping(QueryableCollection memberPersister) |
Modifier and Type | Method and Description |
---|---|
Type |
getType()
Get the type of the thing containing the properties
|
java.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
|
public CollectionPropertyMapping(QueryableCollection memberPersister)
public Type toType(java.lang.String propertyName) throws QueryException
PropertyMapping
toType
in interface PropertyMapping
QueryException
public java.lang.String[] toColumns(java.lang.String alias, java.lang.String propertyName) throws QueryException
PropertyMapping
toColumns
in interface PropertyMapping
QueryException
public java.lang.String[] toColumns(java.lang.String propertyName) throws QueryException, java.lang.UnsupportedOperationException
toColumns
in interface PropertyMapping
QueryException
java.lang.UnsupportedOperationException
public Type getType()
PropertyMapping
getType
in interface PropertyMapping
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.