public class CollectionPropertyMapping extends 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
|
String[] |
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.
|
Type |
toType(String propertyName)
Given a component path expression, get the type of the property
|
public CollectionPropertyMapping(QueryableCollection memberPersister)
public Type toType(String propertyName) throws QueryException
PropertyMappingGiven a component path expression, get the type of the property
toType in interface PropertyMappingQueryExceptionpublic String[] toColumns(String alias, String propertyName) throws QueryException
PropertyMappingObtain aliased column/formula fragments for the specified property path.
toColumns in interface PropertyMappingQueryExceptionpublic String[] toColumns(String propertyName) throws QueryException, UnsupportedOperationException
Given a property path, return the corresponding column name(s).
toColumns in interface PropertyMappingQueryExceptionUnsupportedOperationExceptionpublic Type getType()
PropertyMappingGet the type of the thing containing the properties
getType in interface PropertyMappingCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.